Unauthenticated code execution via MySQL slow-query log
Published Sep 20, 2024 · Updated Sep 23, 2024
Code injection in SeaCMS 13.2 allows remote attackers to execute arbitrary code through a crafted MySQL slow-query operation. The sql.class.chp helper permits slow-query logging to write attacker-controlled server-side code because its validation check is not invoked. No authentication or user interaction is required; successful exploitation writes executable content and grants control in the web process context.
Summary
What happened
Code injection in SeaCMS 13.2 allows remote attackers to execute arbitrary code through a crafted MySQL slow-query operation. The sql.class.chp helper permits slow-query logging to write attacker-controlled server-side code because its validation check is not invoked. No authentication or user interaction is required; successful exploitation writes executable content and grants control in the web process context.
The record
- CVE
- CVE-2024-46640
- Published
- Sep 20, 2024
- Updated
- Sep 23, 2024
- Vendor
- SeaCMS
- Product
- SeaCMS
- Classifications
- CWE-94, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 20, 2024CVE publishedPublication date reported by the CVE source.
- Sep 23, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2024-46640 proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo