Remote code execution via unchecked smiley extension
Published Jan 8, 2024 · Updated Jun 3, 2025
Unrestricted file upload in Stud.IP 5.x through 5.3.3 allows remote authenticated users to execute code through a crafted smiley file. Admin_SmileysController upload_action and edit_action trust a client-supplied image MIME type without validating the filename extension, so PHP is stored beneath the web root and executed. Exploitation normally requires a basic account to plant an XSS payload and a root-role user to view it, after which code runs with www-data privileges.
Summary
What happened
Unrestricted file upload in Stud.IP 5.x through 5.3.3 allows remote authenticated users to execute code through a crafted smiley file. Admin_SmileysController upload_action and edit_action trust a client-supplied image MIME type without validating the filename extension, so PHP is stored beneath the web root and executed. Exploitation normally requires a basic account to plant an XSS payload and a root-role user to view it, after which code runs with www-data privileges.
The record
- CVE
- CVE-2023-50982
- Published
- Jan 8, 2024
- Updated
- Jun 3, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-434, CWE-79, T1505.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 8, 2024CVE publishedPublication date reported by the CVE source.
- Jun 3, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- Stud.IP smiley-upload remote-code-execution 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