CVE-2022-24734

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24734
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24734.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-24734
Aliases
Related
  • GHSA-876v-gwgh-w57f
Published
2022-03-09T22:15:09Z
Modified
2025-01-15T02:17:46.160886Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/mybb/mybb

Affected ranges

Type
GIT
Repo
https://github.com/mybb/mybb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

Other

mybb_1800
mybb_1801
mybb_1804
mybb_1805
mybb_1806
mybb_1807
mybb_1808
mybb_1809
mybb_1810
mybb_1811
mybb_1812
mybb_1813
mybb_1814
mybb_1815
mybb_1815_build
mybb_1816
mybb_1816_build
mybb_1817
mybb_1817_build
mybb_1818
mybb_1818_build
mybb_1819
mybb_1819_build
mybb_1820
mybb_1820-rc
mybb_1820_build
mybb_1821
mybb_1821_build
mybb_1821pl1
mybb_1822
mybb_1822_build
mybb_1823
mybb_1823_build
mybb_1824
mybb_1825
mybb_1826
mybb_1827
mybb_1827_build
mybb_1828
mybb_1828_build
mybb_1829