Description
reNgine through 2.2.0 contains an authorization bypass vulnerability in the GetFileContents API endpoint that allows any authenticated user to read bundled recon tool configuration files. Attackers with low-privilege Auditor roles can access files containing third-party API keys for services like SecurityTrails, Shodan, Censys, VirusTotal, BinaryEdge and Hunter by querying the endpoint without role-based permission checks.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
yogeshojha rengine
Default version status: unaffected
0 to ≤ 2.2.0affected
References
- https://github.com/yogeshojha/rengine/issues/1554 ↗
- https://github.com/yogeshojha/rengine ↗
- https://github.com/yogeshojha/rengine/blob/302b5f32e7aa5958fec9e405772f4aa069eb21a2/web/api/views.py#L1607-L1700 ↗
- https://github.com/yogeshojha/rengine/blob/302b5f32e7aa5958fec9e405772f4aa069eb21a2/web/reNgine/settings.py#L129-L141 ↗
- https://www.vulncheck.com/advisories/rengine-through-2.2.0-unauthorized-configuration-file-read ↗