Lucene search
K

SensioLabs Symfony 3.3.6 Cross Site Scripting

🗓️ 09 Jun 2018 00:00:00Reported by HaMM0nzType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 72 Views

SensioLabs Symfony 3.3.6 Cross Site Scripting vulnerability in profiler componen

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Sensio Labs Symfony Web profiler Cross-Site Scripting Vulnerability
19 Jun 201800:00
cnvd
CVE
CVE-2018-12040
13 Jun 201822:00
cve
Cvelist
CVE-2018-12040
13 Jun 201822:00
cvelist
Debian CVE
CVE-2018-12040
13 Jun 201822:00
debiancve
NVD
CVE-2018-12040
13 Jun 201822:29
nvd
OSV
DEBIAN-CVE-2018-12040
13 Jun 201822:29
osv
OSV
UBUNTU-CVE-2018-12040
13 Jun 201822:29
osv
Prion
Cross site scripting
13 Jun 201822:29
prion
Prion
Design/Logic Flaw
29 Dec 201919:15
prion
Positive Technologies
PT-2018-10962 · Sensiolabs · Symfony
13 Jun 201800:00
ptsecurity
Rows per page
`SensioLabs Symfony version 3.3.6 - Cross-Site Scripting (Reflect)  
  
# Exploit Title: SensioLabs Symfony version 3.3.6 - Cross-Site Scripting (Reflect)  
# Date: 08-06-2018  
# Software Link: https://symfony.com/  
# Exploit Author: HaMM0nz (Chakrit S.), a member of KPMG Cyber Security team in Thailand  
# CVE: CVE-2018-12040  
# Category: webapps  
  
1. Description  
  
Symfony is a set of PHP Components, a Web Application framework, a Philosophy, and a Community all working together in harmony. (Copied from homepage.)  
  
2. Proof of Concept  
  
1. Navigate to http://www.example.com/_profiler/ , by default the credential is not required to access this component.  
2. Insert any non-existence path in the website for example, a random path is "http://www.example.com/qwertyuio".  
3. In the Symfony profiler navigate to the row with HTTP response code "404" and click to the "Token" link in page.  
4. Go to Exception pane and follow the any link in the page e.g. "vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php"  
5. Inject <script>alert("XSS")</script> into "file" parameter , the PoC exploit will be "http://www.example.com/_profiler/open?file=<script>alert("XSS")</script>".  
  
3. Timeline  
  
3.1 Discovery and report - 5 June 2018.  
3.2 CVE ID was assigned - 8 June 2018.  
3.3 Public - 8 June 2018.  
  
4. Solution  
  
Upgrade the Symfony to the version 4.1 or higher.  
`

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