Lucene search
K

Photo Nettoyeur 1.4.5 Insecure File Permission Vulnerability

🗓️ 05 Oct 2018 00:00:00Reported by ZwXType 
zdt
 zdt
🔗 0day.today👁 30 Views

Vulnerability in Photo Nettoyeur 1.4.5 allows unauthorized file modificatio

Code
i>>?#--------------------------------------------------------#
#Exploit Title: Photo Nettoyeur 1.4.5 - Insecure File Permission
#Exploit Author : ZwX
#Vendor Homepage : http://www.marseillesoft.com/
#Link Software : http://www.marseillesoft.com/telecharger/
#Tested on OS: Windows 7 & Windows 10
#Social: twitter.com/ZwX2a
#contact: [email protected]
#Website: http://zwx-pentester.fr/
#--------------------------------------------------------#


Technical Details & Description:
================================
The Photo Nettoyeur suffers from an elevation of privileges vulnerability which can be used by a simple authenticated user 
that can change the executable file with a binary of choice. The vulnerability exist due to the improper permissions, with the 'F' flag (Full)'C' (Write change) 'M' (Modify) for 'Users' group.
This gives an authenticated attacker the ability to modify or overwrite any file in the directory 
with malicious code (trojan or a rootkit). This could result in escalation of privileges or malicious effects on the systeme


Proof of Concept (PoC):
=======================
For security demonstration or to reproduce follow the provided information and steps below to continue.

C:\>cacls PhotoNettoyeur
C:\PhotoNettoyeur BUILTIN\Administrateurs:(ID)F                             <---- Full access
                  BUILTIN\Administrateurs:(OI)(CI)(IO)(ID)F
                  AUTORITE NT\SystA"me:(ID)F
                  AUTORITE NT\SystA"me:(OI)(CI)(IO)(ID)F
                  BUILTIN\Utilisateurs:(OI)(CI)(ID)R
                  AUTORITE NT\Utilisateurs authentifiA(c)s:(ID)C
                  AUTORITE NT\Utilisateurs authentifiA(c)s:(OI)(CI)(IO)(ID)C   <---- Edit
          
C:\PhotoNettoyeur>cacls PhotoNettoyeur.exe
PhotoNettoyeur.exe BUILTIN\Administrateurs:(ID)F                            <---- Full access
                   AUTORITE NT\SystA"me:(ID)F
                   BUILTIN\Utilisateurs:(ID)R
                   AUTORITE NT\Utilisateurs authentifiA(c)s:(ID)C              <---- Edit


C:\>icacls PhotoNettoyeur
PhotoNettoyeur BUILTIN\Administrateurs:(I)(F)                               <---- Full access
               BUILTIN\Administrateurs:(I)(OI)(CI)(IO)(F)
               AUTORITE NT\SystA"me:(I)(F)
               AUTORITE NT\SystA"me:(I)(OI)(CI)(IO)(F)
               BUILTIN\Utilisateurs:(I)(OI)(CI)(RX)
               AUTORITE NT\Utilisateurs authentifiA(c)s:(I)(M)
               AUTORITE NT\Utilisateurs authentifiA(c)s:(I)(OI)(CI)(IO)(M)     <---- Modify

C:\PhotoNettoyeur>icacls PhotoNettoyeur.exe
PhotoNettoyeur.exe BUILTIN\Administrateurs:(I)(F)                           <---- Full access
                   AUTORITE NT\SystA"me:(I)(F)
                   BUILTIN\Utilisateurs:(I)(RX)
                   AUTORITE NT\Utilisateurs authentifiA(c)s:(I)(M)             <---- Modify

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

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