Document Title:
===============
ETSI WEBstore 2023 - Persistent Cross Site Vulnerability
Date:
=====
2023-07-25
References:
===========
https://www.vulnerability-lab.com/get_content.php?id=2327
VL-ID:
=====
2327
Common Vulnerability Scoring System:
====================================
4.6
Vulnerability Class:
====================
Cross Site Scripting - Persistent
Abstract:
=========
The vulnerability laboratory core research team discovered a persistent web vulnerability in the ETSI WebStore web-application.
Affected Product(s):
====================
European Telecommunications Standards Institute (ETSI)
Product: WEBstore 2023 - User Management (Web-Application)
Report-Timeline:
================
2023-07-26: Public Disclosure (Vulnerability Laboratory)
Status:
========
Published
Exploitation-Technique:
=======================
Remote
Severity:
=========
Medium
Details:
========
A persistent input validation web vulnerability has been discovered in the official ETSI Webstore 2023 web-application.
The vulnerability allows remote attackers to inject own malicious script codes with persistent attack vector to compromise
browser to web-application requests from the application-side.
The vulnerability is located in the all input fields of the NewOrModifyCustomer.asp registration / modify formular.
Remote attackers are able to inject own malicious script code with persistent attack vector by an inject in the
wrong sanitized input fields. The injection point is the registration or modify formular of the webstore.
The execution points are located in the index, listarticle, myprofiles and user backend listing of the webstore
web-appliation service.
Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent
external redirects to malicious source and persistent manipulation of affected application modules.
Request Methode:
[+] POST
Vulnerable Inputs:
[+] first name
[+] last name
[+] company name
[+] address
Affected Modules:
[+] MyProfile
[+] ListArticle
[+] ShowCustomer
Proof of Concept:
=================
The persistent input validation web vulnerability can be exploited by remote attackers with low privileged user account and low user interaction.
For security demonstration or to reproduce the persistent cross site web vulnerability follow the provided information and steps below to continue.
Manual steps to reproduce the vulnerability ...
1. Register an account for the etsi webstore using the registration formular
2. Inject script code payloads to the firstname, lastname, companyname and address input fields
3. Save the account by submit via post method request
4. Confirm the email and logon to the account
Note: After the login the execution takes place in the header were the user data is show as well as in separated websites were adress data is displayed. On preview of the customer in the backend an execution of the malicious payload takes as well place.
5. Successful reproduce of the persistent web vulnerability!
--- PoC Session Logs (POST) [Inject & Execute] ---
https://webstore.etsi.org/ecommerce/ShowHideCustomer.asp
Host: webstore.etsi.org
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Content-Length: 906
Origin: https://webstore.etsi.org
Connection: keep-alive
Referer: https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.asp
Cookie: list=2; _ga_L34WJL1P2Z=GS1.1.1690359581.2.1.1690359631.0.0.0; _ga=GA1.1.1806199158.1690355803; ASPSESSIONIDSWABCBBQ=IHBHHHFAJLDMIDCJINGNGIIK
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
NewOrExisting=NEW&eMail=tammy23@protonmail.com&password=cryptoag2&Company=A">&ClientCode=&ClientCodeCSA3=,&Fname=B">&member_orga_id=16173&Lname=C">&Address1=D">