Persistent script execution via uploaded HTML files
Published Feb 16, 2024 · Updated Aug 26, 2024
Stored cross-site scripting in alf.io before 2.0-M4-2304 allows remote authenticated users to execute JavaScript through uploaded HTML files. The admin upload endpoint accepts attacker-supplied base64 content and a text/html media type, then serves the stored file so its event handlers execute in a visitor's browser. Administrative access is required to plant the payload, and exploitation requires a user to visit the generated file URL; the reported impact is persistent access through browser-side script execution.
Summary
What happened
Stored cross-site scripting in alf.io before 2.0-M4-2304 allows remote authenticated users to execute JavaScript through uploaded HTML files. The admin upload endpoint accepts attacker-supplied base64 content and a text/html media type, then serves the stored file so its event handlers execute in a visitor's browser. Administrative access is required to plant the payload, and exploitation requires a user to visit the generated file URL; the reported impact is persistent access through browser-side script execution.
The record
- CVE
- CVE-2024-25627
- Published
- Feb 16, 2024
- Updated
- Aug 26, 2024
- Vendor
- Alf.io
- Product
- alf.io
- Classifications
- CWE-434, CWE-79, T1059.007
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Feb 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 26, 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=0 <2.0-m4-2304
- Affected versionversion=< 2.0-M4-2304
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
- Administrator HTML upload proof of conceptproof of concept · demonstrated
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