Patchfirst
CVE-2021-23758 KEVPublic exploit Critical · 9.8 EPSS 82.6%

Ajax.NET Professional Deserialization of Untrusted Data Vulnerability

Ajax.NET Professional · Ajax.NET Professional

Summary

Ajax.NET Professional (the ajaxpro.2 package) contains a deserialization of untrusted data flaw, which permits deserialization of arbitrary .NET classes. An attacker with network access can exploit this without authentication or user interaction, using a crafted request to gain remote code execution.

Official description · NVD

All versions of package ajaxpro.2 are vulnerable to Deserialization of Untrusted Data due to the possibility of deserialization of arbitrary .NET classes, which can be abused to gain remote code execution.

Breakdown
79.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 5 years after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+5 yrs
  3. Added to CISA KEVEU database agrees+5 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

See the family tree

3 related vulnerabilities in the same code over 2 years. The latest fix listed for AjaxNetProfessional is 21.12.22.1.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2021-23758Ajax.NET Professional Deserialization of Untrusted Data3 Dec 2021KEV
  2. relatedHigh

    Why these are linked:

    • Fixed one release later21.11.29.1 → 21.12.22.1 (AjaxNetProfessional)
    • Same code patched: Constant.cs, core.js (machine-matched)Functions: Constant, extendcommit b0e63becommit c89e39b
    • Similar weakness in the same product (machine-matched)same package + description similarity
    CVE-2021-43853Cross-Site Scripting in AjaxNetProfessional22 Dec 2021
  3. same family
    CVE-2023-49289Cross-site Scripting in Ajax.NET Professional4 Dec 2023

Fixes in AjaxNetProfessionalNuGet package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 21.11.29.1CVE-2021-237583 Dec 2021KEV
  2. 21.12.22.1CVE-2021-4385322 Dec 2021
  3. 21.12.22.1CVE-2023-492894 Dec 2023Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Remote unauthenticated deserialization exploit against public-facing app

Deserialization of Untrusted Data due to the possibility of deserialization of arbitrary .NET classes
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Deserialization yields arbitrary code execution

can be abused to gain remote code execution
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-23758 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: AjaxNetProfessional.

NuGetAjaxNetProfessionalGHSA-6r7c-6w96-8pvw

Upgrade to 21.11.29.1 or later

Set the version to 21.11.29.1 or later in your .csproj.

The first fix for CVE-2021-23758. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 21.11.29.121.11.29.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 34 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag (3 duplicates merged)
↑ ↓ chooseEnter openEsc close