CVE-2018-25031
Swagger UI OpenAPI Definition Spoofing Vulnerability
Description
Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions. Note: This was originally claimed to be resolved in 4.1.3. However, third parties have indicated this is not resolved in 4.1.3 and even occurs in that version and possibly others.
INFO
Published Date :
March 11, 2022, 7:15 a.m.
Last Modified :
Nov. 21, 2024, 4:03 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2018-25031 has a 16 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-25031
.
URL | Resource |
---|---|
https://github.com/swagger-api/swagger-ui/issues/4872 | Issue Tracking Patch Third Party Advisory |
https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 | Release Notes Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220407-0004/ | Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 | Patch Third Party Advisory |
https://github.com/swagger-api/swagger-ui/issues/4872 | Issue Tracking Patch Third Party Advisory |
https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 | Release Notes Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220407-0004/ | Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 | Patch Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Testing for exploitation
CVE-2018-25031-SG
None
None
A simple POC (CVE-2018-25031
None
None
None
PoC of CVE-2018-25031
None
Python
CVE-2018-25031 Test PoC
CVE-2018-25031 tests
Exploit Swagger UI - User Interface (UI) Misrepresentation of Critical Information (CVE-2018-25031)
Python
None
.json and .yaml files used to exploit CVE-2018-25031
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-25031
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-25031
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/swagger-api/swagger-ui/issues/4872 Added Reference https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 Added Reference https://security.netapp.com/advisory/ntap-20220407-0004/ Added Reference https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 01, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-918 Added CWE CISA-ADP CWE-20 Added CWE CISA-ADP CWE-922 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N -
CVE Modified by [email protected]
Jul. 17, 2024
Action Type Old Value New Value Changed Description Swagger UI before 4.1.3 could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions. Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions. Note: This was originally claimed to be resolved in 4.1.3. However, third parties have indicated this is not resolved in 4.1.3 and even occurs in that version and possibly others. -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Jun. 03, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220407-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20220407-0004/ Third Party Advisory -
CVE Modified by [email protected]
Apr. 08, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220407-0004/ [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 22, 2022
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Changed Reference Type https://github.com/swagger-api/swagger-ui/issues/4872 No Types Assigned https://github.com/swagger-api/swagger-ui/issues/4872 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 No Types Assigned https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3 Release Notes, Third Party Advisory Changed Reference Type https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 No Types Assigned https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885 Patch, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:smartbear:swagger_ui:*:*:*:*:*:*:*:* versions up to (excluding) 4.1.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-25031
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-25031
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.76 }} 0.34%
score
0.80955
percentile