Cross-site scripting via unsanitized cookie reflection
Published Mar 7, 2024 · Updated Aug 12, 2024
Cross-site scripting in Secret-Coder-PHP-Project 1.0 allows remote attackers to execute script in a browser via crafted login cookies. login.php copies the emailcookie and passwordcookie values directly into HTML input value attributes without encoding or validation. Exploitation requires a browser to request the login page with an attacker-controlled cookie; the injected script then runs in the application origin.
Summary
What happened
Cross-site scripting in Secret-Coder-PHP-Project 1.0 allows remote attackers to execute script in a browser via crafted login cookies. login.php copies the emailcookie and passwordcookie values directly into HTML input value attributes without encoding or validation. Exploitation requires a browser to request the login page with an attacker-controlled cookie; the injected script then runs in the application origin.
The record
- CVE
- CVE-2024-2266
- Published
- Mar 7, 2024
- Updated
- Aug 12, 2024
- Vendor
- keerti1924
- Product
- Secret-Coder-PHP-Project
- Classifications
- CWE-79, T1189
- Attack vector
- network
- Privileges
- Unavailable
Timeline
How it unfolded
- Mar 7, 2024CVE publishedPublication date reported by the CVE source.
- Aug 12, 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=1.0
What conditions does exploitation require?
What is affected?
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
- Secret-Coder-PHP-Project XSS on login.php via arbitrary cookiesproof 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