CVE-2018-20595: Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons
Summary
CVE-2018-20595: Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons. Affects org.hswebframework.web:hsweb-commons versions < 3.0.4. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The hsweb-commons package is a part of the hswebframework.web ecosystem and is used for web development. It provides various utilities and components to simplify the development process. However, versions up to 3.0.4 of hsweb-commons are vulnerable to a Cross-Site Request Forgery (CSRF) attack.
Vulnerability Detail
The CSRF vulnerability in hsweb-commons arises from a failure to compare the state parameter in the request with the state parameter in the session after successful user authentication. This allows an attacker to forge requests on behalf of the authenticated user, potentially leading to unauthorized actions being performed. The severity of this vulnerability is rated as HIGH with a CVSS score of 8.8.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The CSRF vulnerability in hsweb-commons can be mitigated by updating to a patched version of the package. It is important to compare the state parameter in the request with the state parameter in the session after user authentication to prevent unauthorized actions. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for org.hswebframework.web:hsweb-commons →
FAQ
This vulnerability allows an attacker to perform unauthorized actions on behalf of an authenticated user, potentially leading to data breaches or other malicious activities.
Versions up to 3.0.4 of hsweb-commons are affected by this vulnerability.
Yes, the CVSS score for this vulnerability is 8.8.
There are no known exploits for this vulnerability at the moment.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring access to the code or installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.hswebframework.web:hsweb-commons.