Unauthenticated code execution via temporary-file race
Published Sep 5, 2024 · Updated Sep 5, 2024
Code injection in Bit Apps Bit File Manager 6.0 through 6.5.5 allows remote attackers to execute PHP code through guest file editing. FileEditValidator::checkPermission tests a string initialized to empty for null, so it skips authorization, while checkSyntax writes supplied PHP into the public uploads directory before unlinking it. An administrator must expose the shortcode file manager and grant Guest User read access; winning the deletion race executes code as the web-server process.
Summary
What happened
Code injection in Bit Apps Bit File Manager 6.0 through 6.5.5 allows remote attackers to execute PHP code through guest file editing. FileEditValidator::checkPermission tests a string initialized to empty for null, so it skips authorization, while checkSyntax writes supplied PHP into the public uploads directory before unlinking it. An administrator must expose the shortcode file manager and grant Guest User read access; winning the deletion race executes code as the web-server process.
The record
- CVE
- CVE-2024-7627
- Published
- Sep 5, 2024
- Updated
- Sep 5, 2024
- Vendor
- Bit Apps
- Product
- File Manager
- Classifications
- CWE-94, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 5, 2024CVE publishedPublication date reported by the CVE source.
- Sep 5, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.0 <=6.5.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2024-7627-PoCfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo