Unauthenticated OS command execution via recovery template injection
Published Sep 16, 2024 · Updated Sep 16, 2024
Server-side template injection in playSMS 1.4.4 through 1.4.7 allows remote attackers to execute OS commands through password recovery. The recovery handler places the username field into a template, where a double-brace expression containing PHP backticks is evaluated and its command output is rendered. Access to the public recovery form, a session cookie, and its CSRF token is sufficient; successful commands run as the web-server account.
Summary
What happened
Server-side template injection in playSMS 1.4.4 through 1.4.7 allows remote attackers to execute OS commands through password recovery. The recovery handler places the username field into a template, where a double-brace expression containing PHP backticks is evaluated and its command output is rendered. Access to the public recovery form, a session cookie, and its CSRF token is sufficient; successful commands run as the web-server account.
The record
- CVE
- CVE-2024-8880
- Published
- Sep 16, 2024
- Updated
- Sep 16, 2024
- Vendor
- playSMS
- Product
- playSMS
- Classifications
- CWE-94, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 16, 2024CVE publishedPublication date reported by the CVE source.
- Sep 16, 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=1.4.4
- Affected versionversion=1.4.4 <=1.4.7
- Affected versionversion=1.4.5
- Affected versionversion=1.4.6
- Affected versionversion=1.4.7
What conditions does exploitation require?
What is affected?
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
- Password-recovery template injection proof of conceptproof of concept · 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