CVE-2008-4524: Adaptcms/adaptcms SQL Injection Vulnerability

HIGH
Advisory Identifier: GHSA-qrw3-mq8r-cq7q
CWE-89
Published
Advisory Summary

CVE-2008-4524 is a HIGH sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Adaptcms/adaptcms libraries in the Packagist ecosystem. The issue involves adaptcms sql injection vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2008-4524 at a Glance

CVE Identifier CVE-2008-4524
GHSA Identifier GHSA-qrw3-mq8r-cq7q
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Adaptcms/adaptcms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2008-4524

To remediate this vulnerability, upgrade all affected Adaptcms/adaptcms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

adaptcms/adaptcms fixed: Latest secure release
Upgrade adaptcms/adaptcms to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for adaptcms/adaptcms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2008-4524, inspect your project dependencies for Adaptcms/adaptcms:

inspect dependencies for adaptcms/adaptcms

Analyze the terminal output to locate any version of Adaptcms/adaptcms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Adaptcms/adaptcms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

SQL injection vulnerability in the "Check User" feature (includes/check_user.php) in AdaptCMS Lite and AdaptCMS Pro 1.3 allows remote attackers to execute arbitrary SQL commands via the user_name parameter.

CVE-2008-4524 Affected Adaptcms/adaptcms Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
adaptcms/adaptcms
Packagist
≤ 1.3

References

Frequently Asked Questions

What is CVE-2008-4524?
CVE-2008-4524 is a security vulnerability in Adaptcms/adaptcms involving AdaptCMS SQL Injection vulnerability under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Adaptcms/adaptcms versions are affected?
Affected versions include releases prior to current release patches across affected packages: adaptcms/adaptcms.
What version fixes CVE-2008-4524?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is adaptcms/adaptcms affected?
Yes, adaptcms/adaptcms is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2008-4524?
CVE-2008-4524 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Packagist dependencies for CVE-2008-4524?
Run the dependency tree command: 'inspect dependencies for adaptcms/adaptcms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qrw3-mq8r-cq7q",
  "modified" : "2025-04-10T01:10:23Z",
  "published" : "2022-05-02T00:10:55Z",
  "aliases" : [ "CVE-2008-4524" ],
  "summary" : "AdaptCMS SQL Injection vulnerability",
  "details" : "SQL injection vulnerability in the \"Check User\" feature (includes/check_user.php) in AdaptCMS Lite and AdaptCMS Pro 1.3 allows remote attackers to execute arbitrary SQL commands via the user_name parameter.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "adaptcms/adaptcms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-4524"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/45642"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/adaptcms/AdaptCMS"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228141415/http://www.securityfocus.com/bid/31557"
  }, {
    "type" : "WEB",
    "url" : "https://www.exploit-db.com/exploits/6662"
  }, {
    "type" : "WEB",
    "url" : "http://www.adaptcms.com/article/51/News/URGENT-AdaptCMS-13-Security-Fix-Released"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-10T01:10:23Z",
    "nvd_published_at" : "2008-10-09T18:14:00Z"
  }
}