CVE-2006-3536
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 · uneditedDirect static code injection vulnerability in code/class_db_text.php in EJ3 TOPo 2.2.178 and earlier allows remote attackers to execute arbitrary PHP code via parameters such as (1) descripcion and (2) pais, which are stored directly in a PHP script. NOTE: the provenance of this information is unknown; the details are obtained solely from third party reports.
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 · moderate confidenceDirect static code injection vulnerability in EJ3 TOPo 2.2.178 and earlier allows remote attackers to execute arbitrary PHP code via 'descripcion' and 'pais' parameters that are stored directly into PHP script files without sanitization, enabling full remote code execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 2.2= 2.2.178CVSS 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
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
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.
-
Identify EJ3 TOPo installation and versionSearch the web server for EJ3 TOPo files (common paths: /ej3topo/, /topo/, or check for files containing 'EJ3 TOPo' or 'topo' in title). Look for version information in README, index, or config files. Compare the found version to 2.2 and 2.2.178 (and earlier).Affected if EJ3 TOPo version 2.2, 2.2.178, or any version earlier than 2.2.178 is installed.
-
Locate forms accepting descripcion and pais parametersSearch web application source code (PHP files) for occurrences of the parameters 'descripcion' and 'pais'. Check if these parameters are accepted via GET or POST requests in any PHP script.Affected if The application contains PHP code that accepts 'descripcion' or 'pais' parameters from user input.
-
Check for file write operations storing user inputExamine PHP scripts that handle 'descripcion' and 'pais' parameters. Look for file write operations (fwrite, file_put_contents, or similar) that store these parameter values. Identify the target file being written to.Affected if User input from 'descripcion' or 'pais' parameters is being written to files on the server.
-
Verify if written files have .php extensionInspect the file write operations identified in the previous step. Determine the extension of the file where user input is being stored. Look for .php extensions in the write target path.Affected if User input is being stored directly into files with a .php extension.
-
Confirm lack of input sanitization before storageReview the PHP code handling 'descripcion' and 'pais' parameters. Check if there is any sanitization, escaping, or validation performed before the input is written to the file. Look for functions like htmlspecialchars, addslashes, or validation logic.Affected if User input from 'descripcion' or 'pais' is written to PHP files without any sanitization or validation (the input is stored raw).
The environment is affected if EJ3 TOPo version 2.2 or earlier is installed AND the application writes unsanitized user input from 'descripcion' or 'pais' parameters directly into PHP files accessible via web.
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.
From vendor dataImplement strict input validation and sanitization before storing user input into PHP files; remove direct storage of unsanitized user input into code files, or upgrade to a patched version if available.
- 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-2006-3536 — 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-2006-3536 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