QID 570063
QID 570063: Sensitive Data Exposure In URL
Any visible content of the API should not contain sensitive data. Passwords, API Keys and authorization secrets should not be part of the URL. An evaluation of the swagger file resulted in detection of sensitive data in the URL.
Sensitive data exposure can lead to leakage of information and potential exploits in the organization. The swagger API is not compliant to specification and leads to an error. Some EU GDPR regulation or local privacy laws can be violated .
Solution
Remove sensitive data from URL visible API information, like query and path parameters. You can use header for sensitive content. For example:
openapi: "3.0" components: securitySchemes: "APIKeyInHeader": type: "client_secret" in: "header"
Vendor References
CVEs related to QID 570063
Software Advisories
| Advisory ID | Software | Component | Link |
|---|