Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2022-24734

Remote code execution in mybb
Back to all
CVE

CVE-2022-24734

Remote code execution in mybb

MyBB is a free and open source forum software. In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type php with PHP code, executed on on Change Settings pages. This results in a Remote Code Execution (RCE) vulnerability. The vulnerable module requires Admin CP access with the Can manage settings? permission. MyBB's Settings module, which allows administrators to add, edit, and delete non-default settings, stores setting data in an options code string ($optionscode; mybbsettings.optionscode database column) that identifies the setting type and its options, separated by a new line character (\n). In MyBB 1.2.0, support for setting type php was added, for which the remaining part of the options code is PHP code executed on Change Settings pages (reserved for plugins and internal use). MyBB 1.8.30 resolves this issue. There are no known workarounds.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.2
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

http://packetstormsecurity.com/files/167082/MyBB-1.8.29-Remote-Code-Execution.html, http://packetstormsecurity.com/files/167333/MyBB-Admin-Control-Remote-Code-Execution.html, https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24734.json, https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1, https://github.com/mybb/mybb/security/advisories/GHSA-876v-gwgh-w57f, https://mybb.com/versions/1.8.30/, https://nvd.nist.gov/vuln/detail/CVE-2022-24734, https://www.zerodayinitiative.com/advisories/ZDI-22-503/

Severity

7.2

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.2
EPSS Probability
0.80336%
EPSS Percentile
0.9908%
Introduced Version
0
Fix Available
92012b9831b330714b9f9b4646a98784113489c1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading