Skip to content
OpenAdvisories
High · 8.3 Scanner template CVE-2024-35219 EUVD-2024-1610GHSA-g3hr-p86p-593h

OpenAPI Generator Online - Arbitrary File Read/Delete

Published May 27, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
OpenAPITools openapi-generator < 7.6.0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.openapitools:openapi-generator-online < 7.6.0 7.6.0 GHSA-g3hr-p86p-593h

References