# GHSA-2GQ2-M628-33XP: gregwar/rst Local File Inclusion Vulnerability

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2024-05-15
- Modified: 2024-11-29

## Affected versions

- gregwar/rst (Packagist): fixed in 1.0.3

## Description

A Local File Inclusion (LFI) vulnerability has been discovered in the gregwar/rst library, potentially exposing sensitive files on the server to unauthorized users. The issue arises from inadequate input validation, allowing an attacker to manipulate file paths and include arbitrary files.

## References

- https://github.com/Gregwar/RST/pull/34
- https://github.com/Gregwar/RST/commit/e8d90ccbeddd91ba3abc506079661dce234f9870
- https://hackerone.com/reports/179034
- https://github.com/FriendsOfPHP/security-advisories/blob/master/gregwar/rst/2016-10-31.yaml
- https://github.com/Gregwar/RST

Page: https://cve.now/GHSA-2GQ2-M628-33XP

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
