We have helped our customers to fix 24 475 vulnerabilities
ImmuniWeb® by High-Tech Bridge

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Cross-site Scripting (XSS) Vulnerability in BackupPC

Advisory ID:HTB22965
Vendor:Craig Barratt
Vulnerable Versions:3.1.0, perhaps 3.2.0 also vulnerable and probably prior
Tested Version:3.1.0, perhaps 3.2.0 also vulnerable
Advisory Publication:April 14, 2011 [without technical details]
Vendor Notification:April 14, 2011
Public Disclosure:April 28, 2011
Latest Update:April 26, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in BackupPC which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in BackupPC
The vulnerability exists due to input sanitation error in multiple parameters in index.cgi. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
http://host/index.cgi?action=browse&host=localhost&num=99999%22%3E%3Cscript%3Eal ert%28123%29%3C/scri pt%3E
http://host/index.cgi?action=RestoreFile&host=localhost&num=1&share=%3Csc ript%3Ealert%28234%2 9%3C/script%3E&dir=

ImmuniWeb® On-Demand Web Application Penetration Test

Upgrade to version 3.2.1.

[1] High-Tech Bridge Advisory HTB22965 - https://www.htbridge.com/advisory/HTB22965 - Cross-site Scripting (XSS) Vulnerability in BackupPC
[2] BackupPC - backuppc.sourceforge.net - BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and laptops to a server's disk.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments and Opinions

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.