DotclearApplication

CVE-2008-3232

HIGH · 9.3 CVSS v2.0 Published 2008-07-18
Fix available
A fix is available. Upgrade to after 1.2.7 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

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 · unedited
Unrestricted file upload vulnerability in ecrire/images.php in Dotclear 1.2.7.1 and earlier allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in images.

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 confidence

Unrestricted file upload vulnerability in ecrire/images.php in Dotclear 1.2.7.1 and earlier allows remote authenticated users to upload files with executable extensions (e.g., .php, .phtml) to the images directory, then execute arbitrary code by directly requesting the uploaded file.

MitigationImplement strict allowlist-based file extension validation, restrict or disable script execution in upload directories via .htaccess or server configuration, and consider renaming uploaded files to non-executable names.

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
DotclearApplication
Affected:<= 1.2.7= 1.2.1= 1.2.2= 1.2.3= 1.2.4= 1.2.5= 1.2.6

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
M
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

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 checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Dotclear installation and version
    Locate the Dotclear installation directory and check for a version file or meta information. Common paths include the root web directory. Look for a version.php, about.php, or similar file that displays the installed Dotclear version.
    Affected if The installed Dotclear version is 1.2.7.1 or earlier, or matches any of these versions: 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, or 1.2.6.
  2. Verify ecrire/images.php exists
    Check if the file ecrire/images.php exists in the web root or Dotclear installation directory. This is the vulnerable upload handler.
    Affected if The file ecrire/images.php exists and is accessible via the web server.
  3. Check if authenticated user upload access is enabled
    Examine the Dotclear administration panel to determine if the current configuration allows authenticated users (such as authors or editors) to access the file upload functionality in the images section.
    Affected if Authenticated users have access to the upload feature in the images management area of the admin panel.
  4. Inspect images directory for script execution capability
    Check the configuration of the images upload directory (usually images/ or img/) for whether server-side script execution (PHP, phtml) is permitted. Look for .htaccess files or server configuration that may allow or restrict script execution.
    Affected if The images directory allows execution of .php, .phtml, or other server-side script files.
  5. Review upload file extension filtering
    Examine the ecrire/images.php code or any associated configuration to determine what file extensions are allowed during upload. Focus on whether executable extensions like .php or .phtml are blocked or permitted.
    Affected if The upload mechanism does not restrict executable extensions, allowing .php, .phtml, or similar files to be uploaded.

A user is affected if they are running Dotclear version 1.2.7.1 or earlier (including 1.2.1-1.2.6) with the ecrire/images.php upload handler present, accessible to authenticated users, and the images directory permits script execution.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to a release after 1.2.7
Interim mitigation

Implement strict allowlist-based file extension validation, restrict or disable script execution in upload directories via .htaccess or server configuration, and consider renaming uploaded files to non-executable names.

Recommended fix Moderate confidence

Dotclear 1.2.8 or later

  1. 1. Back up your existing Dotclear installation and database before making any changes.
  2. 2. Download Dotclear version 1.2.8 or later from the official Dotclear repository (https://dotclear.org/).
  3. 3. Replace the ecrire/images.php file with the new version from the 1.2.8 release.
  4. 4. Alternatively, if upgrading the entire installation is not feasible, manually modify ecrire/images.php to add proper file type validation before allowing uploads.
  5. 5. Verify that the fix prevents uploading of executable file extensions (such as .php, .phtml, .php3, .php4, .php5, .phar, .asp, .cgi, .pl, .py, .sh, .exe).
  6. 6. After applying the fix, test the image upload functionality to ensure legitimate uploads still work.
  7. 7. Review server configuration to ensure uploaded files in the images directory are not executed as scripts (e.g., disable Script execution via .htaccess for Apache or equivalent web server configuration).
Caveat Minor - Upgrading from 1.2.x to later versions may include feature changes; review the changelog for any breaking changes between your version and 1.2.8

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Dotclear Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA4.0 h
20.0 hours of engineering $3,560
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,696.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2008-3232 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2008-3232 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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