CVE-2012-2351 in Debian Linux and 1 more product
The default configuration of the auth/saml plugin in Mahara before 1.4.2 sets the "Match username attribute to Remote username" option to false, which allows remote SAML IdP servers to spoof users of other SAML IdP servers by using the same internal username.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The default configuration of the auth/saml plugin in Mahara before 1.4.2 sets the "Match username attribute to Remote username" option to false, which allows remote SAML IdP servers to spoof users of other SAML IdP servers by using the same internal username.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-2351 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-314230-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2012-07-12 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-16: CWE-16
CWE-284: Improper Access Control
Software does not restrict or incorrectly restricts access to a resource.
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
Related attack patterns (CAPEC)
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
CAPEC-478 Modification of Windows Service Configuration via CWE-284
CAPEC-479 Malicious Root Certificate via CWE-284
CAPEC-546 Incomplete Data Deletion in a Multi-Tenant Environment via CWE-284
CAPEC-550 Install New Service via CWE-284
Show all 27
CAPEC-551 Modify Existing Service via CWE-284
CAPEC-552 Install Rootkit via CWE-284
CAPEC-556 Replace File Extension Handlers via CWE-284
CAPEC-558 Replace Trusted Executable via CWE-284
CAPEC-562 Modify Shared File via CWE-284
CAPEC-563 Add Malicious File to Shared Webroot via CWE-284
CAPEC-564 Run Software at Logon via CWE-284
CAPEC-633 Token Impersonation via CWE-287
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-19 Embedding Scripts within Scripts via CWE-284
CAPEC-194 Fake the Source of Data via CWE-287
CAPEC-502 Intent Spoof via CWE-284
CAPEC-503 WebView Exposure via CWE-284
CAPEC-536 Data Injected During Configuration via CWE-284
CAPEC-578 Disable Security Software via CWE-284
CAPEC-593 Session Hijacking via CWE-287
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
CAPEC-441 Malicious Logic Insertion via CWE-284
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Debian systems (CVE-2012-2351). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The default configuration of the auth/saml plugin in Mahara before 1.4.2 sets the "Match username attribute to Remote username" option to false, which allows remote SAML IdP servers to spoof users of other SAML IdP servers by using the same internal username. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2012-2351?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Debian systems (CVE-2012-2351). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-2351?
CVE-2012-2351 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 2.0%.
Is CVE-2012-2351 actively exploited?
No confirmed active exploitation of CVE-2012-2351 as of 2026-09-25.
How do I remediate CVE-2012-2351?
Priority: MONITOR.
What systems are affected by CVE-2012-2351?
CVE-2012-2351 affects Debian Debian Linux; Mahara Mahara.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.