CSRF token disclosure via script-readable cookie
Published Dec 27, 2022 · Updated Aug 5, 2024
Sensitive cookie exposure in nsupdate.info before 2019-05-19 allows remote attackers to read the CSRF token from client-side scripts. The Django setting in src/nsupdate/settings/base.py sets CSRF_COOKIE_HTTPONLY to False, so browsers expose the csrftoken cookie to JavaScript. Exploitation requires script execution in the cookie origin and discloses the CSRF token without granting direct access to session cookies or server data.
Summary
What happened
Sensitive cookie exposure in nsupdate.info before 2019-05-19 allows remote attackers to read the CSRF token from client-side scripts. The Django setting in src/nsupdate/settings/base.py sets CSRF_COOKIE_HTTPONLY to False, so browsers expose the csrftoken cookie to JavaScript. Exploitation requires script execution in the cookie origin and discloses the CSRF token without granting direct access to session cookies or server data.
The record
- CVE
- CVE-2019-25091
- Published
- Dec 27, 2022
- Updated
- Aug 5, 2024
- Vendor
- nsupdate.info
- Product
- nsupdate.info
- Classifications
- CWE-1004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 27, 2022CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=n/a
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
No public exploit references are available in this record.
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