제출 #277995: Codeastro Restaurant POS System 1.0 Remote Code Execution via Unrestricted File Upload정보

제목Codeastro Restaurant POS System 1.0 Remote Code Execution via Unrestricted File Upload
설명The Restaurant POS System lacks adequate checks on file uploads, allowing an attacker to upload files with inappropriate content, such as PHP scripts, instead of legitimate files. The uploaded file acts as a web shell or script, providing the attacker with the ability to remotely execute arbitrary code on the server. The file upload is done through Cashier Account who has the ability to update product information and maintain orders at ‘update_product.php’ . When visited the uploaded path, commands can be executed through uploaded shell. Also can be accessed through user account. Vulnerability Details : - Vulnerability Type: Remote Code Execution (RCE) via Unrestricted File Upload. - Affected URL: http://localhost/RestaurantPOS/Restro/customer/orders.php - Affected URL: http://localhost/RestaurantPOS/Restro/cashier/products.php - Exploited Parameter: http://localhost/RestaurantPOS/Restro/cashier/update_product.php Mitigation Recommendations: Mitigating the Unrestricted File Upload and Remote Code Execution (RCE) vulnerability in a restaurant website involves implementing strict file upload controls, validating file types, and restricting extensions to prevent malicious uploads. Employing content verification mechanisms and enforcing input validation safeguards against code injection exploits. Employ content verification mechanisms to validate the integrity of uploaded files. This helps prevent the upload of files containing malicious code. Also Implement robust input validation and sanitation to prevent command injection and other code execution exploits.
원천⚠️ https://drive.google.com/drive/folders/1utXNnlH67FjUaBsYhw1cQWyZsO9MLy1i?usp=sharing
사용자
 VishnuDev1 (UID 63087)
제출2024. 02. 05. PM 09:34 (3 연령 ago)
모더레이션2024. 02. 06. AM 09:43 (12 hours later)
상태수락
VulDB 항목253011 [CodeAstro Restaurant POS System 1.0 update_product.php 권한 상승]
포인트들20

Do you want to use VulDB in your project?

Use the official API to access entries easily!