CVE-2012-2966: Caucho Quercus in Resin Vulnerability Leading to SERVER Array Overwrite

com.caucho:resin Updated 02 Oct 2025

Summary

17/05/2022
Yes i
High
Not published

CVE-2012-2966: Caucho Quercus, as distributed in Resin before 4.0.29, overwrites entries in the SERVER superglobal array on the basis of POST parameters, which has unspecified impact and remote attack vectors. Affects com.caucho:resin versions < 4.0.29. Fixed in 4.0.29. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Caucho Quercus is a Java-based implementation of the PHP language, primarily used within the Resin application server. It allows developers to run PHP applications on a Java platform, providing benefits such as performance and scalability. However, prior to version 4.0.29, Quercus had a significant vulnerability where it could overwrite entries in the SERVER superglobal array based on POST parameters, potentially leading to unauthorized access or manipulation of server variables.

Vulnerability Detail

The vulnerability arises from the way Caucho Quercus handles POST parameters. Specifically, it allows POST data to overwrite entries in the SERVER superglobal array, which can lead to unintended consequences such as exposing sensitive information or allowing remote attackers to manipulate server behavior. This issue was present in versions of Resin before 4.0.29 and is classified as having a high severity due to its potential impact on application security.

How To Fix

Minimum fixed version

4.0.29

This is the first release that contains the fix.

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

Workaround

If immediate upgrading is not feasible, consider implementing input validation on POST parameters to prevent them from overwriting sensitive server variables. This can be done by sanitizing input data before processing it within your application.

Conclusion

Caucho Quercus has a critical vulnerability that can lead to the overwriting of the SERVER superglobal array based on POST parameters. It is essential to update to version 4.0.29 or later to secure your application. Additionally, using tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for com.caucho:resin →

Share this vulnerability

FAQ

The impact includes potential unauthorized access to server variables and manipulation of application behavior, which can lead to security breaches.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Versions of Resin prior to 4.0.29 are affected by this vulnerability.

Yes, the patch is included in version 4.0.29 and later of the Caucho Quercus package.

Implement input validation on POST parameters to mitigate the risk of overwriting sensitive server variables.

Related vulnerabilities

Recent vulnerabilities recorded for com.caucho:resin.

How To Fix

Minimum fixed version

4.0.29

This is the first release that contains the fix.

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