Vulnerabilities · 2019 · Smartbear
CVE-2019-17495
Smartbear Swagger Ui vulnerability
A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that <style>@import within the JSON data was a functional attack method.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Swagger Ui, Banking Apis, Banking Digital Experience, Banking Platform, Primavera Gateway, Utilities Framework. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Smartbear Swagger Ui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.oracle.com/security-alerts/cpuApr2021.html · Patch
- www.oracle.com/security-alerts/cpujan2022.html · Patch
- www.oracle.com/security-alerts/cpuoct2020.html · Patch
- github.com/tarantula-team/CSS-injection-in-Swagger-UI · Exploit
- github.com/swagger-api/swagger-ui/releases/tag/v3.23.11
- lists.apache.org/thread.html/r103579b01da2d0aa0f672b88f811224bbf8ef493aaad845895955e91%40%
- lists.apache.org/thread.html/r3acb7e494cf1aab99b6784b7c5bbddfd0d4f8a484ab534c3a61ef9cf%40%
- lists.apache.org/thread.html/r84b327f7a8b6b28857b906c07a66dd98e1d341191fa8d7816514ef96%40%
- nvd.nist.gov/vuln/detail/CVE-2019-17495
- cve.org/CVERecord?id=CVE-2019-17495
More vulnerabilities in Smartbear products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.