lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Sat, 20 May 2017 11:27:51 -0400
From: hyp3rlinx <>
Subject: [FD] CVE-2017-7620 Mantis Bug Tracker 1.3.10 / v2.3.0 CSRF
	Permalink Injection

[+] Credits: John Page a.k.a hyp3rlinx
[+] Website:
[+] Source:
[+] ISR: ApparitionSec


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:

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'];

<form action="


<form action="

Network Access:


Disclosure Timeline:
Vendor Notification: April 9, 2017
Vendor Release Fix: May 15, 2017
Vendor Disclosed: May 20, 2017
May 20, 2017 : Public Disclosure

[+] Disclaimer
The information contained within this advisory is supplied "as-is" with no
warranties or guarantees of fitness of use or otherwise.
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and
that due credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit
is given to the author. The author is not responsible for any misuse of the
information contained herein and accepts no responsibility
for any damage caused by the use or misuse of this information. The author
prohibits any malicious use of security related information
or exploits by the author or elsewhere. All content (c).


Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists