CVE-2008-4524: AdaptCMS SQL Injection Vulnerability in Check User Feature

adaptcms/adaptcms Updated 14 Dec 2025

Summary

02/05/2022
No i
High
8.9

CVE-2008-4524: AdaptCMS SQL Injection vulnerability. Affects adaptcms/adaptcms versions < 1.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AdaptCMS is an open-source content management system designed for ease of use and flexibility in managing web content. It offers features such as user management, template customization, and plugin support. However, versions 1.3 of both AdaptCMS Lite and AdaptCMS Pro are vulnerable to SQL injection attacks, particularly through the 'Check User' feature, which can compromise the integrity of the database and allow unauthorized access.

Vulnerability Detail

The SQL injection vulnerability in AdaptCMS arises from improper handling of user input in the 'Check User' feature (located in includes/check_user.php). Attackers can exploit this flaw by manipulating the user_name parameter to execute arbitrary SQL commands. This could lead to unauthorized data access, data manipulation, or even complete database compromise, posing a significant risk to the security of the application and its data.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can sanitize user inputs before processing them in SQL queries. For example, use prepared statements or parameterized queries to prevent SQL injection. Here is a sample code snippet for using prepared statements in PHP:

$pdo = new PDO('mysql:host=localhost;dbname=your_database', 'username', 'password');
$stmt = $pdo->prepare('SELECT * FROM users WHERE user_name = :user_name');
$stmt->execute(['user_name' => $user_name]);
$results = $stmt->fetchAll();

Conclusion

The SQL injection vulnerability identified as CVE-2008-4524 in AdaptCMS poses a significant risk to users of versions 1.3 of both AdaptCMS Lite and AdaptCMS Pro. It is crucial to update to a patched version or implement workarounds to safeguard against potential attacks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for adaptcms/adaptcms →

Share this vulnerability

FAQ

SQL injection is a code injection technique that exploits a vulnerability in an application's software by allowing attackers to interfere with the queries that an application makes to its database.

If you are using AdaptCMS version 1.3 or earlier, your installation is vulnerable. You can check your version in the composer.lock file or by accessing the admin panel.

Successful SQL injection attacks can lead to unauthorized access to sensitive data, data loss, data corruption, or even complete control over the database server.

Yes, you can use Vulert to monitor your open-source projects for vulnerabilities in real-time. Vulert analyzes your composer.lock file to alert you of any known vulnerabilities.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback