CVE-2020-24914: qcubed PHP object injection

qcubed/qcubed Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Critical
9.8

CVE-2020-24914: qcubed PHP object injection. Affects qcubed/qcubed versions < 3.2. Fixed in 3.2. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

qcubed is a PHP framework that provides an object-oriented approach to web development. It offers various features and components to simplify the creation of web applications. However, versions up to 3.1.1 of qcubed are vulnerable to a PHP object injection bug in the 'profile.php' file. This vulnerability allows an unauthenticated attacker to execute arbitrary code by exploiting the untrusted data of the 'strProfileData' POST variable.

Vulnerability Detail

The vulnerability in qcubed arises from the insecure deserialization of user-supplied data. When the 'strProfileData' POST variable is unserialized, it can lead to the execution of malicious code. This can have severe consequences, including unauthorized access, data manipulation, and remote code execution. The vulnerability has a CVSS score of 9.8, indicating its criticality.

How To Fix

Minimum fixed version

3.2

This is the first release that contains the fix.

composer require qcubed/qcubed:3.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable the affected functionality or implement input validation and sanitization measures to mitigate the risk of object injection. Here is an example of input validation for the 'strProfileData' variable:

if (isset($_POST['strProfileData'])) {
    $profileData = $_POST['strProfileData'];
    // Validate and sanitize the input
    // ... (your validation and sanitization code here)
}

Implementing proper input validation and sanitization can help prevent the exploitation of this vulnerability.

Conclusion

The qcubed PHP object injection vulnerability (CVE-2020-24914) allows an unauthenticated attacker to execute arbitrary code on the affected system. Upgrading to version 3.2 or later is recommended to fix this vulnerability. If immediate upgrade is not possible, implementing input validation and sanitization measures can provide temporary mitigation. It is important to take prompt action to protect the application from potential exploitation. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for qcubed/qcubed →

Share this vulnerability

FAQ

This vulnerability allows an unauthenticated attacker to execute arbitrary code on the affected system. They can potentially gain unauthorized access, manipulate data, and perform remote code execution.

No, authentication is not required. The vulnerability can be exploited by an unauthenticated attacker.

No, versions up to 3.1.1 of qcubed are affected. Upgrading to version 3.2 or later resolves the vulnerability.

There are no known instances of this vulnerability being exploited in the wild at the time of this report. However, it is crucial to promptly apply the recommended fixes to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for qcubed/qcubed.

How To Fix

Minimum fixed version

3.2

This is the first release that contains the fix.

composer require qcubed/qcubed:3.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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