(0Day) Vacron Camera ping Command Injection Remote Code Execution Vulnerability
The Vacron Camera webs.cgi endpoint fails to validate a user-supplied string before using it in a system call, allowing an authenticated remote attacker to execute arbitrary commands as root. The vendor did not provide a fix, and the advisory was published as a 0-day.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Vacron Camera devices. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the webs.cgi endpoint passes user input directly to a system call without sanitisation or validation.
Impact
An authenticated attacker could execute arbitrary code as root on the camera, but the only mitigation is to restrict network access to the device.
What the attacker needed
Authentication required; network access to the camera
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A camera's web interface takes a piece of text from the user and passes it to a system command without checking it. An attacker who can log in can put special characters in that text to run their own commands on the camera, with the highest privileges.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.