Administrator command execution via template code injection
Published Jan 13, 2026 · Updated Jan 13, 2026
Code injection in 4Homepages 4images 1.9 allows remote authenticated administrators to execute arbitrary commands through template editing. The template editor saves attacker-supplied reverse-shell code in categories.html, which categories.php evaluates when a crafted cat_id request renders it. Administrator access is required; successful exploitation runs commands with the web server's privileges and can compromise hosted data and service availability.
Summary
What happened
Code injection in 4Homepages 4images 1.9 allows remote authenticated administrators to execute arbitrary commands through template editing. The template editor saves attacker-supplied reverse-shell code in categories.html, which categories.php evaluates when a crafted cat_id request renders it. Administrator access is required; successful exploitation runs commands with the web server's privileges and can compromise hosted data and service availability.
The record
- CVE
- CVE-2022-50806
- Published
- Jan 13, 2026
- Updated
- Jan 13, 2026
- Vendor
- 4Homepages
- Product
- 4images
- Classifications
- CWE-94, T1505.003
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 13, 2026CVE publishedPublication date reported by the CVE source.
- Jan 13, 2026Record 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.9
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
- 4images 1.9 Remote Command Executionfunctional · 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