5.4med

CVE-2016-5013

Moodle Does Not Escape Characters In Email Headers

Also known as GHSA-2hh3-jmv8-5fmx

Published 9 y ago · modified 4 mo ago · JSON

CVSS
5.4
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.1%
percentile 65%
Public exploits
0
none known

Summary

In Moodle 2.x and 3.x, text injection can occur in email headers, potentially leading to outbound spam.

Exploit prediction (EPSS)

1.06% probability of exploitation in the next 30 days, higher than 65% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.05.4CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD2.05.8AV:N/AC:M/Au:N/C:P/I:P/A:N
GitHub3.05.4CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
packagistmoodle/moodle
>=3.1, <3.1.1
>=3.0, <3.0.5
>=2.9, <2.9.7
>=2.8, <=2.8.12
>=2.7, <2.7.15
3.1.1
3.0.5
2.9.7
2.7.15

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

  • moodle.org /mod/forum/discuss.php?d=336698 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/92040 · vdb-entry, x_refsource_BID, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-5013 · advisory
  • github.com /moodle/moodle/commit/ed63718caa48803843a14140d8a27f04aba9c8c4 · web
  • web.archive.org /web/20210123154543/http://www.securityfocus.com/bid/92040 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.