Vulnerability Description
The csrf_callback function in the CSRF Magic library through 2016-03-27 is vulnerable to CSRF protection bypass as it allows one to tamper with the csrf token values. A remote attacker can exploit this by crafting a malicious page and dispersing it to a victim via social engineering, enticing them to click the link. Once the user/victim clicks the "try again" button, the attacker can take over the account and perform unintended actions on the victim's behalf. NOTE: A third-party maintainer has stated that this CVE is a false report. They state that the csrf_callback function is actually a callback function to the callers own handler for output. The function called can be changed via configuration to a custom callback to handle failed validation differently. They also stated that there is no way for an attacker to change tokens to make them valid from the client side. The only thing an attack can do is to pull the token out of the javascript, but that will always be possible and has nothing to do with the callback
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Csrf Magic Project | Csrf Magic | <= 2016-03-27 |
Related Weaknesses (CWE)
References
- https://pastebin.com/01tDgq7uExploitThird Party Advisory
- https://pastebin.com/01tDgq7uExploitThird Party Advisory
FAQ
What is CVE-2019-17590?
CVE-2019-17590 is a vulnerability with a CVSS score of 8.8 (HIGH). The csrf_callback function in the CSRF Magic library through 2016-03-27 is vulnerable to CSRF protection bypass as it allows one to tamper with the csrf token values. A remote attacker can exploit thi...
How severe is CVE-2019-17590?
CVE-2019-17590 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-17590?
Check the references section above for vendor advisories and patch information. Affected products include: Csrf Magic Project Csrf Magic.