Skip to main content
← All vulnerabilities
CVE-2024-35219GHSA-G3HR-P86P-593H

OpenAPI Generator Online - Arbitrary File Read/Delete

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.6.0
1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Prior to version 7.6.0, attackers can exploit a path traversal vulnerability to read and delete files and folders from an arbitrary, writable directory as anyone can set the output folder when submitting the request via the `outputFolder` option. The issue was fixed in version 7.6.0 by removing the usage of the `outputFolder` option. No known workarounds are available.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenAPITools openapi-generator

    fixed in 7.6.0

  • org.openapitools:openapi-generator-onlineMaven

    fixed in 7.6.0

References 4

GitHub · OpenAPITools/openapi-generator

GitHub · projectdiscovery/nuclei-templates