Advisory Details

March 11th, 2022

MyBB Admin Control Panel Code Injection Remote Code Execution Vulnerability

ZDI-22-503
ZDI-CAN-16517

CVE ID CVE-2022-24734
CVSS SCORE 7.2, AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS MyBB
AFFECTED PRODUCTS MyBB
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of MyBB. Authentication is required to exploit this vulnerability.

The specific flaw exists within the Control Panel. The issue results from the lack of proper validation of a user-supplied string before using it to construct server-side code. An attacker can leverage this vulnerability to execute code in the context of the www-data user.

ADDITIONAL DETAILS MyBB has issued an update to correct this vulnerability. More details can be found at:
https://mybb.com/versions/1.8.30/
DISCLOSURE TIMELINE
  • 2022-03-07 - Vulnerability reported to vendor
  • 2022-03-11 - Coordinated public release of advisory
CREDIT Cillian Collins
BACK TO ADVISORIES