BreachSpiderVerified, not vibes

CVE-2013-5674 in Moodle

High 7.5

badges/external.php in Moodle 2.5.x before 2.5.2 does not properly handle an object obtained by unserializing a description of an external badge, which allows remote attackers to conduct PHP object injection attacks via unspecified vectors, as demonstrated by overwriting the value of the userid parameter.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.5
EPSS2.1%
EPSS percentile82th
FixSee advisory

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Moodle Moodle 2.5.0 2.5.1

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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

badges/external.php in Moodle 2.5.x before 2.5.2 does not properly handle an object obtained by unserializing a description of an external badge, which allows remote attackers to conduct PHP object injection attacks via unspecified vectors, as demonstrated by overwriting the value of the userid parameter.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2013-5674
BreachSpider IDBS-2013-GLOBAL-027807-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2013-09-16
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2013. A high severity vulnerability affects Moodle systems (CVE-2013-5674). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: badges/external.php in Moodle 2.5.x before 2.5.2 does not properly handle an object obtained by unserializing a description of an external badge, which allows remote attackers to conduct PHP object injection attacks via unspecified vectors, as demonstrated by overwriting the value of the userid parameter. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.

Questions

What is CVE-2013-5674?

This vulnerability was disclosed in 2013. A high severity vulnerability affects Moodle systems (CVE-2013-5674). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2013-5674?

CVE-2013-5674 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 2.1%.

Is CVE-2013-5674 actively exploited?

No confirmed active exploitation of CVE-2013-5674 as of 2026-09-25.

How do I remediate CVE-2013-5674?

Priority: MEDIUM. Advisory: https://moodle.org/mod/forum/discuss.php?d=238397 PSIRT: [email protected]

What systems are affected by CVE-2013-5674?

CVE-2013-5674 affects Moodle Moodle.

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":"Moodle","product":"Moodle","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.