PT-2012-2873 · Moodle+1 · Moodle+1
Vincent Danen
·
Published
2012-07-17
·
Updated
2023-02-13
·
CVE-2012-0796
CVSS v2.0
4.0
Medium
| Vector | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Moodle versions 1.9.x through 1.9.15
Moodle versions 2.0.x through 2.0.6
Moodle versions 2.1.x through 2.1.3
Moodle versions 2.2.x through 2.2.0
Description
The issue allows remote authenticated users to inject arbitrary e-mail headers via crafted
From: or Sender: headers. This can be achieved by manipulating the From: or Sender: header in the class.phpmailer.php file of the PHPMailer library. Arbitrary additional email headers can be injected via these crafted headers.Recommendations
For Moodle versions 1.9.x through 1.9.15, update to version 1.9.16 or later.
For Moodle versions 2.0.x through 2.0.6, update to version 2.0.7 or later.
For Moodle versions 2.1.x through 2.1.3, update to version 2.1.4 or later.
For Moodle versions 2.2.x through 2.2.0, update to version 2.2.1 or later.
As a temporary workaround, filter user-supplied values prior to using them in
From or Sender properties.Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Moodle
Phpmailer