Unauthenticated root command execution via diagnostic CGI
Published Aug 13, 2021 · Updated Oct 21, 2025
OS command injection in Sunhillo SureLine before 8.7.0.1.1 allows remote attackers to execute arbitrary commands as root. The /cgi/networkDiag.cgi script places the ipAddr and dnsAddr parameters into a shell command, and its input filter permits $() command substitution. The CGI requires no session cookie, so network access to the web service is sufficient for complete control of the underlying gateway.
Summary
What happened
OS command injection in Sunhillo SureLine before 8.7.0.1.1 allows remote attackers to execute arbitrary commands as root. The /cgi/networkDiag.cgi script places the ipAddr and dnsAddr parameters into a shell command, and its input filter permits $() command substitution. The CGI requires no session cookie, so network access to the web service is sufficient for complete control of the underlying gateway.
The record
- CVE
- CVE-2021-36380
- Published
- Aug 13, 2021
- Updated
- Oct 21, 2025
- Vendor
- Sunhillo Corporation
- Product
- SureLine
- Classifications
- CWE-78, T1059.004, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 13, 2021CVE publishedPublication date reported by the CVE source.
- Mar 5, 2024Exploitation reportedCISA Known Exploited Vulnerabilities Catalog listing
- Oct 21, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <8.7.0.1.1
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.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 5 |
| Sep 11, 2026 | 1 |
| Sep 12, 2026 | 1 |
| Sep 13, 2026 | 1 |
| Sep 14, 2026 | 1 |
| Sep 15, 2026 | Unavailable |
| Sep 16, 2026 | Unavailable |
Weakness, pattern, technique
Public exploit references
- NCC Group reverse-shell HTTP requestfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog listingknown exploited catalog
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