#VU64011 Input validation error in Swagger UI


Published: 2023-04-16 | Updated: 2023-08-02

Vulnerability identifier: #VU64011

Vulnerability risk: Low

CVSSv3.1: 3.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-25031

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Swagger UI
Web applications / Other software

Vendor: SmartBear

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can trick the victim into opening a specially crafted URL to display remote OpenAPI definitions.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Swagger UI: 4.1.0 - 4.1.2


External links
http://github.com/swagger-api/swagger-ui/issues/4872
http://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
http://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
http://security.netapp.com/advisory/ntap-20220407-0004/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability