VYPR
Unrated severityNVD Advisory· Published Jun 8, 2021· Updated Sep 16, 2024

Unauthenticated remote command execution in Vembu products

CVE-2021-26471

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

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

News mentions

0

No linked articles in our index yet.