CVE-2018-1081:
Moodle Unauthenticated users can trigger custom messages to admin via paypal enrol script
5.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/13/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | >= 3.1, < 3.1.11 | 3.1.11 |
moodle/moodle | composer | >= 3.2, < 3.2.8 | 3.2.8 |
moodle/moodle | composer | >= 3.3, < 3.3.5 | 3.3.5 |
moodle/moodle | composer | >= 3.4, < 3.4.2 | 3.4.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the PayPal enrollment IPN handler sending error notifications before validating the request's origin. While no specific function name is explicitly mentioned in available resources, the core issue resides in the IPN processing logic within enrol/paypal/ipn.php. The fix (referenced via MDL-61392) would have moved email notifications after PayPal verification checks. The high confidence comes from: 1) The CVE description explicitly mentioning the PayPal enrol script as the vector, 2) Standard Moodle architecture placing IPN handling in this file, and 3) The nature of the vulnerability requiring email-sending logic before validation.