CVE-2024-42364
MEDIUMHomepage 0.9.1 - Unauthenticated Information Disclosure via DNS Rebinding
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2024-42364. PoCs published by ibrahmsql, adminlove520.
AI-analyzed exploit summary This repository contains a functional Ruby exploit for CVE-2024-42364, a critical SQL injection vulnerability in Discourse. The exploit includes comprehensive detection, database type identification, and multiple SQL injection techniques (union-based, boolean-based, time-based, and error-based).
Description
Homepage is a highly customizable homepage with Docker and service API integrations. The default setup of homepage 0.9.1 is vulnerable to DNS rebinding. Homepage is setup without certificate and authentication by default, leaving it to vulnerable to DNS rebinding. In this attack, an attacker will ask a user to visit his/her website. The attacker website will then change the DNS records of their domain from their IP address to the internal IP address of the homepage instance. To tell which IP addresses are valid, we can rebind a subdomain to each IP address we want to check, and see if there is a response. Once potential candidates have been found, the attacker can launch the attack by reading the response of the webserver after the IP address has changed. When the attacker domain is fetched, the response will be from the homepage instance, not the attacker website, because the IP address has been changed. Due to a lack of authentication, a user’s private information such as API keys (fixed after first report) and other private information can then be extracted by the attacker website.
Exploits (2)
This repository contains a functional Ruby exploit for CVE-2024-42364, a critical SQL injection vulnerability in Discourse. The exploit includes comprehensive detection, database type identification, and multiple SQL injection techniques (union-based, boolean-based, time-based, and error-based).
The repository contains a scanner for CVE-2024-21762, which checks for the presence of the vulnerability in Fortinet SSL VPN interfaces. It includes Python scripts that send crafted HTTP requests to detect if a target is vulnerable.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N