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% 3Ealert%28123%29%3C/scri pt%3E
http://host/index.cgi?action=RestoreFile&host=localhost&num=1&share=% 3Cscript%3Ealert%28234%2 9%3C/script%3E&dir=

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Upgrade to version 3.2.1.

[1] High-Tech Bridge Advisory HTB22965 - - Cross-site Scripting (XSS) Vulnerability in BackupPC
[2] BackupPC - - 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) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

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.
Quick Start
Free Trial