Lucene search
K

WampServer v3.0.6 - Insecure File Permissions

🗓️ 29 Sep 2016 00:00:00Reported by ZwX - (http://zwx.fr) [http://www.vulnerability-lab.com/show.php?user=ZwX]Type 
vulnerlab
 vulnerlab
🔗 www.vulnerability-lab.com👁 29 Views

WampServer v3.0.6 - Insecure File Permissions. Vulnerability in software core due to insecure default permissions on wampmanager.exe and unins000.exe, allowing local attacker to gain elevated privileges

Code
Document Title:
===============
WampServer v3.0.6 - Insecure File Permissions


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=1964


Release Date:
=============
2016-09-29


Vulnerability Laboratory ID (VL-ID):
====================================
1964


Common Vulnerability Scoring System:
====================================
5.4


Product & Service Introduction:
===============================
WampServer (Formerly WAMP5) is a Web development platform WAMP type, for operating locally (without connecting to an external server) PHP scripts. 
WampServer is not in itself a software but an environment with two servers (Apache and MySQL), a script interpreter (PHP) and phpMyAdmin for 
administration Web MySQL databases.

(Copy of the Vendor Homepage: http://www.wampserver.com/ )


Abstract Advisory Information:
==============================
An independent vulnerability laboratory researcher discovered an insecure file permission vulnerability in the WampServer v3.0.6 software.


Vulnerability Disclosure Timeline:
==================================
2016-09-30:	Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================
WAMPS
Product: WampServer - Software 3.0.6


Exploitation Technique:
=======================
Local


Severity Level:
===============
Medium


Technical Details & Description:
================================
Insecure File Permissions vulnerability has been discovered in the official WampServer v3.0.6 software.
The vulnerability exists due to insecure default permissions set on the wampmanager.exe and unins000.exe  

A local attacker could exploit this vulnerability by replacing wampmanager.exe or unins000.exe with a malicious executable file.  
The malicious file could execute or modify with the LocalSystem permissions. 


Proof of Concept (PoC):
=======================
WampServer for Windows contains a vulnerability that could allow a local attacker to gain elevated privileges.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below.


-- PoC Exploit --
C:wampp>icacls wampmanager.exe
wampmanager.exe BUILTINAdministrateurs:(I)(F)        <--- Full Acces
                AUTORITE NTSystème:(I)(F)
                BUILTINUtilisateurs:(I)(RX)
                AUTORITE NTUtilisateurs authentifiés:(I)(M)       <--- Modify

1 fichiers correctement traités ; échec du traitement de 0 fichiers

C:wampp>icacls unins000.exe
unins000.exe BUILTINAdministrateurs:(I)(F)       <--- Full Acces
             AUTORITE NTSystème:(I)(F)
             BUILTINUtilisateurs:(I)(RX)
             AUTORITE NTUtilisateurs authentifiés:(I)(M)       <--- Modify

1 fichiers correctement traités ; échec du traitement de 0 fichiers


Security Risk:
==============
The security risk of the insecure file permissions issue in the software core is estimated as medium. (CVSS 5.4)


Credits & Authors:
==================
ZwX - (http://zwx.fr) [http://www.vulnerability-lab.com/show.php?user=ZwX]


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed 
or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable 
in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab 
or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for 
consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, 
deface websites, hack into databases or trade with stolen data.

Domains:    www.vulnerability-lab.com 		- www.vuln-lab.com 						- www.evolution-sec.com
Section:    magazine.vulnerability-lab.com 	- vulnerability-lab.com/contact.php 				- evolution-sec.com/contact
Social:	    twitter.com/vuln_lab		- facebook.com/VulnerabilityLab 				- youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php 	- vulnerability-lab.com/rss/rss_upcoming.php 			- vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php 	- vulnerability-lab.com/list-of-bug-bounty-programs.php 	- vulnerability-lab.com/register.php

Any modified copy or reproduction, including partially usages, of this file, resources or information requires authorization from Vulnerability Laboratory. 
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by 
Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark 
of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get a ask permission.

				    Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™



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