CVE-2015-1042
What it is
The string_sanitize_url function in core/string_api.php in MantisBT 1.2.0a3 through 1.2.18 uses an incorrect regular expression, which allows remote attackers to conduct open redirect and phishing attacks via a URL with a ":/" (colon slash) separator in the return parameter to login_page.php, a different vulnerability than CVE-2014-6316.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.2% in the next 30 days (EPSS).
- Severity: 5.8 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 2.2% · EPSS, next 30 days
- Record status
- Modified
Affected
- Mantisbt 1.2.0
- Mantisbt 1.2.1
- Mantisbt 1.2.2
- Mantisbt 1.2.3
- Mantisbt 1.2.4
- Mantisbt 1.2.5
- Mantisbt 1.2.6
- Mantisbt 1.2.7
Attack profile CVSS 2.0 · 5.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-1042.md and follow it. Check whether this project is affected by CVE-2015-1042. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://packetstormsecurity.com/files/130142/Mantis-BugTracker-1.2.19-Open-Redirect.html
- http://seclists.org/fulldisclosure/2015/Jan/110
- http://www.openwall.com/lists/oss-security/2015/01/10/5
- http://www.openwall.com/lists/oss-security/2015/01/11/8
- http://www.securitytracker.com/id/1031633
- https://www.mantisbt.org/bugs/view.php?id=17997
- http://packetstormsecurity.com/files/130142/Mantis-BugTracker-1.2.19-Open-Redirect.html
- http://seclists.org/fulldisclosure/2015/Jan/110
- http://www.openwall.com/lists/oss-security/2015/01/10/5
- http://www.openwall.com/lists/oss-security/2015/01/11/8
- http://www.securitytracker.com/id/1031633
- https://www.mantisbt.org/bugs/view.php?id=17997