CVE-2012-1589: Drupal/drupal Drupal Open Redirect Vulnerability
MODERATECVE-2012-1589 is a MODERATE drupal open redirect vulnerability (CWE-20: Improper Input Validation) affecting Drupal/drupal libraries in the Packagist ecosystem. The issue involves drupal open redirect. Remediation is available by upgrading affected packages to version 7.13.
CVE-2012-1589 at a Glance
How to Fix CVE-2012-1589
To remediate this vulnerability, upgrade all affected Drupal/drupal dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade drupal/drupal to 7.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/drupal
How to Check if You Are Affected
To determine whether your application is affected by CVE-2012-1589, inspect your project dependencies for Drupal/drupal:
inspect dependencies for drupal/drupal
Analyze the terminal output to locate any version of Drupal/drupal in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.13), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Drupal/drupal, 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
CVE-2012-1589 Affected Drupal/drupal Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/drupal
|
Packagist |
≥ 7.0
< 7.13
|
7.13
|
References
Frequently Asked Questions
What is CVE-2012-1589?
Which Drupal/drupal versions are affected?
What version fixes CVE-2012-1589?
Is drupal/drupal affected?
What CWE is associated with CVE-2012-1589?
How can I check Packagist dependencies for CVE-2012-1589?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wwrm-8947-4m6c",
"modified" : "2023-08-29T21:31:37Z",
"published" : "2022-05-17T04:56:42Z",
"aliases" : [ "CVE-2012-1589" ],
"summary" : "Drupal Open Redirect",
"details" : "Open redirect vulnerability in the Form API in Drupal 7.x before 7.13 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via crafted parameters in a destination URL.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.13"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1589"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20120507035905/http://www.securityfocus.com/bid/53365"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150523060428/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:074/?name=MDVSA-2013:074"
}, {
"type" : "WEB",
"url" : "http://drupal.org/node/1557938"
}, {
"type" : "WEB",
"url" : "http://jvn.jp/en/jp/JVN45898075/index.html"
}, {
"type" : "WEB",
"url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000045"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-29T21:31:37Z",
"nvd_published_at" : "2012-05-18T20:55:00Z"
}
}