CVE-2024-28850: WP Crontrol vulnerable to possible RCE when combined with a pre-condition
WP Crontrol includes a feature that allows administrative users to create events in the WP-Cron system that store and execute PHP code subject to the restrictive security permissions documented here. While there is no known vulnerability in this feature on its own, there exists potential for this feature to be vulnerable to RCE if it were specifically targeted via vulnerability chaining that exploited a separate SQLi (or similar) vulnerability.
This is exploitable on a site if one of the below preconditions are met:
- The site is vulnerable to a writeable SQLi vulnerability in any plugin, theme, or WordPress core
- The site’s database is compromised at the hosting level
- The site is vulnerable to a method of updating arbitrary options in the
wp_options
table - The site is vulnerable to a method of triggering an arbitrary action, filter, or function with control of the parameters
References
- github.com/advisories/GHSA-9xvf-cjvf-ff5q
- github.com/johnbillion/wp-crontrol
- github.com/johnbillion/wp-crontrol/commit/6d1fadcf6dfdd54e55feef27f916b0cfcd602405
- github.com/johnbillion/wp-crontrol/releases/tag/1.16.2
- github.com/johnbillion/wp-crontrol/security/advisories/GHSA-9xvf-cjvf-ff5q
- nvd.nist.gov/vuln/detail/CVE-2024-28850
- snicco.io/vulnerability-disclosure
- wp-crontrol.com/docs/php-cron-events
- wp-crontrol.com/help/check-php-cron-events
Detect and mitigate CVE-2024-28850 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →