CVE-2015-1042 json
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 allo…
published 11y ago modified 4mo ago also EUVD-2015-1185
- cvss
- 5.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2015-1042 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-1042 updated cvss 4.3
mantis: URL redirection issue (incomplete fix for CVE-2014-6316)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.19% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/fulldisclosure/2015/Jan/110 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/130142/Mantis-BugTracker-1.2.19-Open-Redirect.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
References
-
seclists.org
/fulldisclosure/2015/Jan/110
mailing-list, exploit
-
packetstormsecurity.com
/files/130142/Mantis-BugTracker-1.2.19-Open-Redirect.html
exploit
- mantisbt.org /bugs/view.php?id=17997
-
securitytracker.com
/id/1031633
vdb-entry
-
openwall.com
/lists/oss-security/2015/01/10/5
mailing-list
-
openwall.com
/lists/oss-security/2015/01/11/8
mailing-list
Sources
- CVE List CVE-2015-1042
- NVD CVE-2015-1042
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.