| Título | SourceCodester SEO Meta Tag Extractor 1.0 Server-Side Request Forgery |
|---|
| Descrição | A server-side request forgery vulnerability was found in SourceCodester SEO Meta Tag Extractor 1.0.
The vulnerable application reads the "url" POST parameter and passes it directly into get_headers() and file_get_contents() inside the fetchMetaTags() function of index.php. No host or IP-level validation is performed; the only check, FILTER_VALIDATE_URL, validates URL syntax only and does not reject private, loopback, or link-local addresses. Because file_get_contents() follows HTTP redirects by default, even a future hostname blacklist could be bypassed via attacker-controlled redirects.
An unauthenticated remote attacker can supply crafted URLs to access internal resources and services. The application allows requests to internal addresses such as:
http://127.0.0.1:<port>
http://localhost:<port>
Impact:
The vulnerability allows an attacker to access internal services, perform internal network enumeration, and potentially retrieve sensitive information depending on the server environment. The vulnerability may allow access to internal services such as 127.0.0.1, internal admin panels, or cloud metadata endpoints (e.g., AWS IMDS at x.x.x.x), which can leak temporary IAM credentials on misconfigured cloud VMs.
The exploit has been disclosed to the public and may be used. Full technical details are available in the public advisory.
|
|---|
| Fonte | ⚠️ https://hackmd.io/@Kq4PsjnpQ5WfoMt8ho48LA/By9GXDkyGe |
|---|
| Utilizador | Kevin57545 (UID 97896) |
|---|
| Submissão | 11/05/2026 17h56 (há 24 dias) |
|---|
| Moderação | 31/05/2026 18h34 (20 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 367580 [SourceCodester SEO Meta Tag Extractor 1.0 /index.php get_headers url Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|