# CVE-2015-3175: Moodle Arbitrary Redirect

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v2.0, NVD) `AV:N/AC:M/Au:N/C:P/I:P/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Medium; Authentication: None; Confidentiality impact: Partial; Integrity impact: Partial; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.88% (percentile 80, 2026-11-26)
- **CWE:** CWE-601
- **Aliases:** GHSA-h798-h7ff-93xv
- **Published:** 2015-06-01T19:00:00.000Z
- **Modified:** 2026-06-17T00:25:28.047Z

## Who should check

- Projects that depend on Packagist package moodle/moodle (\<= 2.5.9)
- Anyone running n/a (versions: see the vendor advisory)

## Description

Multiple open redirect vulnerabilities in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 allow remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an error page that links to a URL from an HTTP Referer header.

## Affected and fixed versions

- Packagist `moodle/moodle`: affected \<= 2.5.9; fixed 2.6.11, 2.7.8, 2.8.6 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade moodle/moodle to one of 2.6.11, 2.7.8, 2.8.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2015-3175. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-3175.md
Affected: moodle/moodle <= 2.5.9
Fixed in: 2.6.11, 2.7.8, 2.8.6

Steps:
1. Search this machine and project for moodle/moodle (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2015-3175 being exploited?

There is no confirmed exploitation: CVE-2015-3175 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.88% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2015-3175?

Medium: CVSS 5.8 (v2.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2015-3175?

moodle/moodle \<= 2.5.9.

### Is there a fix for CVE-2015-3175?

Yes. Fixed in 2.6.11, 2.7.8, 2.8.6. Upgrade moodle/moodle to one of 2.6.11, 2.7.8, 2.8.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2015-3175?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://moodle.org/mod/forum/discuss.php?d=313682>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2015-3175>
- patch: <https://github.com/moodle/moodle/commit/b2687a055dc990ca86ddce178d5aee3fb1df644a>
- patch: <https://github.com/moodle/moodle/commit/db200a8e9f88c8c4a2141ac264062dca74ee2f29>
- patch: <https://github.com/moodle/moodle/commit/dd0607b7bbaff38cc62e4d00658c02da3fdbb4c8>
- other: <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49179>
- other: <http://www.securityfocus.com/bid/74720>
- other: <http://www.securitytracker.com/id/1032358>
- other: <http://openwall.com/lists/oss-security/2015/05/18/1>
- other: <https://github.com/moodle/moodle>
- other: <https://web.archive.org/web/20201030042703/http://www.securitytracker.com/id/1032358>
- other: <https://web.archive.org/web/20210122155902/http://www.securityfocus.com/bid/74720>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2015-3175>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-h798-h7ff-93xv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2015-3175> · JSON: <https://flawdb.com/api/v1/entries/CVE-2015-3175>
