Unauthenticated remote command execution in Vembu products
Description
In VembuBDR before 4.2.0.1 and VembuOffsiteDR before 4.2.0.1, the http API located at /sgwebservice_o.php accepts a command argument. Using this command argument an unauthenticated attacker can execute arbitrary shell commands.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- Vembu/VembuBDRdescription
Patches
Vulnerability mechanics
Root cause
"The http API at /sgwebservice_o.php accepts a command argument that is not properly sanitized, allowing for arbitrary shell command execution."
Attack vector
An unauthenticated attacker can send a crafted HTTP request to the `/sgwebservice_o.php` endpoint. By providing a malicious command in the `command` argument, the attacker can achieve arbitrary shell command execution on the affected system. The reference write-up provides an example using `curl` to execute `echo hacked > /tmp/divd_was_here.txt` [ref_id=1].
Affected code
The vulnerability lies within the http API located at `/sgwebservice_o.php` in VembuBDR and VembuOffsiteDR products. Specifically, the `command` argument accepted by this API is not properly validated, leading to the vulnerability [ref_id=1].
What the fix does
The advisory does not specify the exact fix implemented. However, it indicates that VembuBDR and VembuOffsiteDR versions before 4.2.0.1 are affected. Users are advised to upgrade to version 4.2.0.1 or later to remediate this vulnerability.
Preconditions
- authThe attacker does not require any authentication.
- networkThe attacker needs network access to the vulnerable endpoint.
Reproduction
Step 1: Start up a docker environment (see below). Step 2: In a different terminal run the following command: > $ curl 'http://127.0.0.1:6060/sgwebservice_o.php?Action=StoreSpecialFolder&command=echo%20hacked%20%3E%2Ftmp%2Fdivd_was_here.txt&tempFile=/tmp'
<storegrid><saved messsage='Files filtered and cached successfully.Now You can continue your schedule..' error='0'></saved></storegrid>$ Step 3: validate that a file was written in /tmp: [ref_id=1]
Generated on Jun 4, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- csirt.divd.nl/2021/05/11/Vembu-zero-days/mitrex_refsource_CONFIRM
- csirt.divd.nl/cases/DIVD-2020-00011/mitrex_refsource_CONFIRM
- csirt.divd.nl/cves/CVE-2021-26471/mitrex_refsource_CONFIRM
- www.wbsec.nl/vembumitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.