Skip to content

Mail settings' command parameter injection

Moderate
dvz published GHSA-hxhm-rq9f-7xj7 Oct 4, 2022

Package

MyBB (PHP)

Affected versions

< 1.8.31

Patched versions

1.8.31

Description

Impact

The Mail SettingsAdditional Parameters for PHP's mail() (mail_parameters) setting value, in connection with the configured mail program's options and behavior, may allow access to sensitive information and Remote Code Execution (RCE).

The vulnerable module requires Admin CP access with the Can manage settings? permission and may depend on configured file permissions.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Patches

While the customization of program parameters may have legitimate uses, their modification using the Admin CP was determined too risky. Therefore, the source of the value has been moved to the Configuration File, requiring existing write access to application files.

MyBB 1.8.31 resolves this issue with the following changes:

References

For more information

Go to mybb.com/security to report possible security concerns or to learn more about security research at MyBB.

Contact

The security team can be reached at security@mybb.com.

Severity

Moderate

CVE ID

CVE-2022-39265

Weaknesses