CVE-2013-10039
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA command injection vulnerability exists in GestioIP 3.0 commit ac67be and earlier in ip_checkhost.cgi. Crafted input to the 'ip' parameter allows attackers to execute arbitrary shell commands on the server via embedded base64-encoded payloads. Authentication may be required depending on deployment configuration.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA command injection vulnerability in GestioIP 3.0's ip_checkhost.cgi allows attackers to execute arbitrary shell commands via the 'ip' parameter by embedding base64-encoded payloads. The lack of proper input sanitization on this parameter enables OS command injection.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate GestioIP installationSearch common installation paths such as /usr/local/gestioip, /var/www/gestioip, or /opt/gestioip. Check for directories named 'gestioip' on the system.Affected if GestioIP is found installed on the system
-
Identify GestioIP versionCheck the installed version by looking at version files, release notes, or the main script headers in the GestioIP installation directory. Compare against version 3.0.Affected if The installed version is GestioIP 3.0 or earlier
-
Find ip_checkhost.cgi scriptLocate the ip_checkhost.cgi file within the GestioIP web directory, typically under cgi-bin/ or similar web-accessible paths.Affected if The ip_checkhost.cgi script exists in the installation
-
Verify web CGI interface is enabledCheck if the web server has CGI execution enabled for the GestioIP cgi-bin directory. Look at Apache/nginx configuration for ScriptAlias or cgi-bin permissions.Affected if CGI execution is enabled and the GestioIP web interface is accessible over HTTP/HTTPS
-
Inspect ip parameter handling in ip_checkhost.cgiExamine the source code of ip_checkhost.cgi to see how the 'ip' parameter is processed. Look for unsanitized use in shell commands, system(), exec(), or backtick operations.Affected if The 'ip' parameter is used in shell commands without proper input sanitization or validation
If GestioIP version 3.0 is installed with the ip_checkhost.cgi script accessible via a CGI-enabled web interface and the 'ip' parameter is processed without sanitization, the environment is affected by this command injection vulnerability.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement strict input validation and sanitization on the 'ip' parameter to reject or escape shell metacharacters, and ensure the web application runs with minimal system privileges to limit blast radius.
GestioIP 3.0.1 or later (latest stable release)
- 1. Identify the current GestioIP version in use by checking the installation directory or running 'gestioip --version' if available
- 2. Download the latest GestioIP release from the official SourceForge repository at https://sourceforge.net/projects/gestioip/
- 3. Review the release notes or changelog for version 3.0.1 or later to confirm the command injection fix is included
- 4. Backup the current GestioIP installation, including configuration files and database
- 5. Stop the web server service (e.g., Apache, Nginx) that serves GestioIP
- 6. Extract the new version files, overwriting the existing ip_checkhost.cgi and other affected files
- 7. Restore custom configurations from the backup if needed
- 8. Restart the web server service
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2013-10039 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2013-10039 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data