CVE-2021-21805: OS Command Injection in Advantech R-SeeNet ping.php
- Vendor
- Advantech
CVE-2021-21805 is an OS Command Injection vulnerability in the ping.php script of Advantech R-SeeNet version 2.4.12 (20.10.2020). The vulnerability allows an attacker to execute arbitrary operating system commands by sending a specially crafted HTTP request to the ping.php endpoint, which improperly sanitizes user input before passing it to the system shell.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary OS commands with the privileges of the web server process, potentially leading to full system compromise, data exfiltration, or lateral movement within the network.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the affected system to trusted hosts only, use web application firewalls to block suspicious requests to ping.php, and monitor for abnormal command execution activity until a patch can be applied.
Remediation
Patch, then assume compromise.
Upgrade Advantech R-SeeNet to a version in which the ping.php script properly sanitizes and validates user input before passing it to the system shell, or otherwise disables the vulnerable functionality. Consult vendor advisories for patched versions.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-21805 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-21805?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-21805.
- Is there a patch for CVE-2021-21805?
- Upgrade Advantech R-SeeNet to a version in which the ping.php script properly sanitizes and validates user input before passing it to the system shell, or otherwise disables the vulnerable functionality. Consult vendor advisories for patched versions.
- What products are affected by CVE-2021-21805?
- Advantech R-Seenet.
- How severe is CVE-2021-21805?
- CVE-2021-21805 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 69.6% (99th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.