Description
The ip_in_range function in mnet/lib.php in MNET in Moodle 1.9.x before 1.9.15 uses an incorrect data type, which allows remote attackers to bypass intended IP address restrictions via an XMLRPC request.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | moodle | 1.9.9.dfsg2-2.1+squeeze3 | DSA-2421-1 |
Advisories 1
- DSA-2421-1 moodle - several Debian Security (DSA / DLA) · Mar 9, 2026