☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-269
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2021-42810

CVE-2021-42810 — Safenet Authentication Service Remote Desktop Gateway prior to 2.0.3 may allow privilege escilation to authenticated users
📅 PUBLISHED: 2022-01-19 00:00 UTC 🔄 UPDATED: 2026-08-13 10:15 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
7.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1068
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.8
AV: L Attack Vector Local
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2021-42810 affects the Thales Safenet Authentication Service Remote Desktop Gateway (RDS Gateway component) in all versions prior to 2.0.3. The vulnerability allows an authenticated attacker to execute arbitrary code as a privileged user on any system where the agent is installed, effectively yielding full system compromise from a low-privileged foothold. According to the CNA, the flaw exists in "previous versions" of the product suite and is remediated in version 2.0.3. The vulnerability carries a CVSS score of 7.8 (High), reflecting the severe confidentiality, integrity, and availability impact, though exploitation requires prior authentication. With no public PoC, no Nuclei template, and no CISA KEV listing, active exploitation in the wild is not currently confirmed, though the EPSS percentile (24%) indicates some baseline threat modeling interest.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

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.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The NVD description characterizes this flaw as a privilege escalation vulnerability residing in the Safenet Authentication Service Remote Desktop Gateway. The CNA title specifies that the affected component is the Remote Desktop Gateway itself, prior to version 2.0.3, and explicitly states it "may allow privilege escalation to authenticated users."

Based strictly on the provided details, the vulnerability mechanism can be characterized as follows:

  • Access Vector (Local): The CVSS vector for this CVE, while not provided, is inferred from the NVD scoring of 7.8 and the description's emphasis on an "authenticated attacker" — the attack requires the actor to already possess some level of local or remote authentication to the target system. The description specifically states the flaw is exploitable "where the agent is installed," implying the vulnerable software (the RDS Gateway agent) is a locally installed service or application.
  • Flaw Class (Privilege Escalation): The authenticated attacker can "execute code as a privileged user." This indicates a flaw in the authentication, authorization, or session-handling logic of the RDS Gateway software. The most common class for such a flaw is improper access control (CWE-269), where the software fails to properly enforce permission checks for certain operations, or a flaw in the agent's handling of crafted requests/packets that allows the abuse of elevated privileges.
  • Attack Surface (Installation-based): Because the CNA title restricts the flaw to systems "where the agent is installed," the attack surface is the local system running the RDS Gateway agent software. The attacker must already be an authenticated user on that system (or be able to authenticate to the RDS Gateway service itself) to trigger the flaw.
  • Code-Level Detail: The NVD description and CNA title do not enumerate specific function names, memory corruption details, or specific API endpoints. Insufficient technical detail is available to describe the internal mechanics beyond the class level. No additional public research (blogs, vendor advisories beyond the version bump) is available in the provided data.

Given the 2/4 patch confidence, it is possible the fix in 2.0.3 addresses a flaw that could be an integer overflow, a TOCTOU (time-of-check/time-of-use) race, or a logic bypass in the authentication delegation layer. However, these are speculative categories and are not derived from the given data; the authoritative statement is simply: authenticated user → privilege escalation via the installed agent.

Exploitation Scenarios

The attack chain is inferred from the vulnerability class (privilege escalation) and the description's parameters (authenticated attacker, local agent, privileged code execution). No public PoC exists; the following chain is a class-level reconstruction.

1. Reconnaissance/Target Identification An attacker with a foothold on a target network enumerates Windows or Linux hosts for the presence of the Thales Safenet Authentication Service RDS Gateway agent. This can be achieved by standard network scanning (e.g., checking for listening ports on 135/tcp or other RPC/SMB interfaces), by enumerating installed software via known local queries (reg query on Windows), or by leveraging existing user credentials to authenticate to the RDS gateway service itself. The target is a system with the agent installed.

2. Flaw Triggering (Authenticated Access) The attacker authenticates to the target system or to the RDS gateway agent service using valid low-privileged credentials (a domain user, a local user, or an application account). The trigger is the exploitation of the flawed logic in the agent that processes an authenticated session or request. Given the class, the attacker would craft a specific sequence of API calls, commands, or packets sent to the agent over the local system transport (e.g., named pipes, local sockets, or the RDS gateway's own interface) that the agent mishandles, leading to an elevation of the execution context.

3. Payload/Execution Method (Class-Level) At the vulnerability-class level, the flaw likely involves either:

  • Improper session token validation: The agent fails to verify the integrity or privilege level of an authenticated session token, treating a low-privileged session as if it originated from an administrator. This could be achieved by tampering with a cookie, request header, or local IPC message.
  • Missing function-level access control: The agent exposes an administrative function (e.g., a configuration update, registry write, or system command execution wrapper) that lacks a privilege check, allowing any authenticated caller to invoke it.
  • Race condition: The agent performs a privilege check and then later performs a privileged action without re-validating the caller's status between the two steps.

The attacker submits a crafted request to the vulnerable function. The agent then executes the payload in the context of the elevated user (e.g., SYSTEM or root), allowing the code to run without further authentication.

4. Post-Exploitation Impact Successful exploitation grants the attacker SYSTEM or root privileges on the host where the RDS Gateway agent runs. From this privileged position, the attacker can:

  • Disable security tools and the agent itself.
  • Dump credentials from memory (e.g., LSASS on Windows) or the local Security Account Manager.
  • Move laterally via saved credentials or Kerberos tickets.
  • Deploy ransomware or destructive wipers.
  • Create persistence mechanisms (e.g., installing a rootkit or scheduling tasks).

No public PoC available; attack chain is inferred from vulnerability class.

Impact Assessment

The CVSS base score of 7.8 (High) is assessed against a local attack vector with low attack complexity, requiring low privileges and no user interaction. The scope is unchanged (U), but the confidentiality, integrity, and availability (CIA) impact are all rated High. This implies:

  • Confidentiality: Full disclosure of local data — the attacker could read encryption keys, configuration secrets, or other user data accessible only to the privileged account.
  • Integrity: Full write access — the attacker can modify system binaries, user profiles, and agent configuration.
  • Availability: The attacker can terminate critical services, corrupt the file system, or brick the system.

The blast radius is the specific host running the agent, but given that the Safenet Authentication Service RDS Gateway is typically deployed in secure network segments to broker remote desktop access, a compromised gateway could expose the organization's entire remote access infrastructure. If the RDS Gateway agent runs with high-privileged service accounts (common for such components), lateral movement from the compromised host into the broader network is highly probable. The lack of a CISA KEV listing suggests no known exploitation in the wild at the time of writing; however, the 24% EPSS percentile indicates the flaw is considered a realistic target for threat actors once the patch gap widens.

Detection Guidance

The detection rules below are generic for this vulnerability class (privilege escalation via authenticated software). Because no public PoC or exploit exists, these rules should be tuned against normal RDS Gateway agent behavior in your environment. False positive filtering is strongly recommended.

Sigma Rule

title: Privilege Escalation via Thales Safenet RDS Gateway Agent
id: 3c8f4e2a-9f61-4a32-bc7d-8f4a1c90e5b2
status: experimental
description: Detects suspicious process creation or file writes by the Safenet RDS Gateway agent process indicating potential privilege escalation attempts (CVE-2021-42810).
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|startswith:
            - 'C:\Program Files\SafeNet'
            - 'C:\Program Files (x86)\SafeNet'
    selection_cmd:
        CommandLine|contains:
            - 'whoami'
            - 'net user'
            - 'cmd.exe /c'
            - 'powershell -enc'
            - 'reg add HKLM'
    filter:
        CommandLine|contains:
            - '/install'
            - 'setup.exe'
    condition: selection_img and selection_cmd and not filter
level: high
falsepositives:
    - Legitimate administrative tasks performed by IT personnel using the agent's maintenance tools.
tags:
    - attack.privilege_escalation
    - attack.t1068
    - cve.2021-42810

YARA Rule

rule CVE_2021_42810_Safenet_RDSG_Exploit
{
    meta:
        author = "Valtersit Threat Intel"
        description = "Detects common indicators of privilege escalation abuse against Thales Safenet RDS Gateway (CVE-2021-42810)"
        date = "2025-01-01"
        cve = "CVE-2021-42810"
        severity = "high"
    strings:
        $s1 = "SafeNet Authentication Service" ascii wide nocase
        $s2 = "RDSGateway" ascii wide nocase
        $s3 = "CreateProcessAsUser" ascii wide nocase
        $s4 = "LogonUser" ascii wide nocase
        $s5 = "privilege" ascii wide nocase
        $s6 = "SeDebugPrivilege" ascii wide nocase
        $p1 = { 6A 00 5A 6A 00 5B 58 50 B0 2E E8 00 00 00 00 } // typical shellcode stub
    condition:
        (uint16(0) == 0x5A4D and (1 of ($p*))) or
        (2 of ($s*))
}

Suricata IDS Rule

alert tcp any any -> $HOME_NET any (msg:"ET EXPLOIT Possible CVE-2021-42810 Safenet RDS Gateway Privilege Escalation Attempt"; flow:established,to_server; content:"SafeNet"; nocase; content:"Authentication"; nocase; content:"|0d 0a|"; within:100; classtype:attempted-admin; reference:cve,2021-42810; sid:1000001; rev:1;)

Note: This rule is intentionally generic due to lack of exploit-specific signatures. Tune to the specific RDS Gateway port (commonly 443 or a TCP high port) in actual deployment.

Elastic Detection

sequence by host.name with maxspan=30s
  [process where event.type == "start" and process.name == "SafenetAgent.exe" and 
     process.args : ("*cmd*", "*powershell*", "*whoami*", "*net user*")]
  [file where event.type == "creation" and file.path : ("C:\\ProgramData\\*", "C:\\Windows\\Temp\\*") and 
     file.extension : ("exe", "dll", "ps1")]

Note: Replace SafenetAgent.exe with the actual process name from your environment.

Splunk SPL Query

index=windows sourcetype=WinEventLog:Security
| search (EventCode=4688 AND New_Process_Name=*SafeNet*) 
| eval Cmd = lower(New_Process_CommandLine)
| where match(Cmd, "(?i)(whoami|net user|cmd\.exe /c|powershell \-enc|reg add HKLM)")
| table _time, host, user, New_Process_Name, New_Process_CommandLine
| stats count by host
| sort -count

Wazuh OSSEC Rule

<group name="thales_safenet,">
    <rule id="100420" level="12">
        <if_sid>5715</if_sid>
        <field name="win.eventdata.image">(?i)SafeNet</field>
        <field name="win.eventdata.commandLine">(?i)(whoami|net user|cmd\.exe /c|powershell)</field>
        <description>CVE-2021-42810 - Possible privilege escalation attempt via Safenet RDS Gateway agent.</description>
        <group>attack.privilege_escalation,</group>
        <mitre>
            <id>T1068</id>
        </mitre>
    </rule>
</group>

Mitigation & Patch Guidance

Patch confidence: 2/4 (CLAIMED — single source claims patch (not independently confirmed)).

1. Immediate Mitigations (if patching is not immediately possible):

  • Restrict local access to systems where the Safenet RDS Gateway agent is installed. Only allow trusted, managed user accounts to authenticate interactively.
  • Monitor and audit all user activities on the RDS gateway hosts. Look for unusual commands or process executions (use the Sigma/EQL rules above).
  • Improve logging for the RDS Gateway agent — enable verbose logging to capture any failed/suspicious authentication attempts that might precede an escalation.
  • Apply the principle of least privilege to the agent's service account; ensure it does not have domain admin privileges.

2. Patch/Upgrade Steps:

  • Upgrade Safenet Authentication Service Remote Desktop Gateway to version 2.0.3 or newer.
  • Validate the upgrade in a staging environment before production rollout.
  • After patching, cross-check the product version via the application's 'About' section or configuration file to confirm the patch has been successfully applied.
  • Note: Verify the vendor's official advisory to confirm the build number, as the patch is only claimed by the CNA and not independently verified.

3. Long-Term Hardening:

  • Segment RDS Gateway hosts into a dedicated, highly restricted management VLAN.
  • Require multi-factor authentication for all administrative access to the gateway host.
  • Enable enhanced auditing (e.g., SACL on the agent's directory) to track access to the agent's binaries and configuration.
  • Establish a vulnerability management cadence that includes quarterly re-evaluation of this CVE's patch status until the claim is independently confirmed.
  • Ensure the agent's service account is changed periodically and is not shared across hosts.

References

  1. NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2021-42810
  2. Vendor Advisory (Thales/SafeNet): The vendor (Thales) has issued a patch via version 2.0.3; direct advisory URL is not available in the provided data — refer to Thales SafeNet support portal. (Insufficient detail available for a direct link.)
  3. CISA Known Exploited Vulnerabilities Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog — CVE-2021-42810 is NOT listed, indicating no CISA-confirmed exploitation in the wild at present.
  4. Mitre CVE Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42810

Threat Actor Campaigns / Exploit-in-the-Wild Evidence: None reported. No public PoC, no Nuclei template, no exploit code, and no CISA KEV data point to active exploitation. Analysts should monitor the Thales advisory channel for independent verification of the patch and to watch for future disclosure of technical details that may lower the practical exploitation barrier.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Safenet Authentication Service
safenet agent
Remote Desktop Gateway

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2021-42810/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.