Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-23758: Unauthenticated deserialization RCE in Ajax.NET Professional

Published Dec 3, 2021 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS82.6%100th percentile
CISA KEVYesAdded Aug 26, 2026
In the wildActivePer CISA KEV
Vendors
MichaelschwarzAjaxpro.2 Project
IdentifiersCVE-2021-23758CWE-502 · Deserialization of Untrusted Data

CVE-2021-23758 is an unsafe deserialization vulnerability in Ajax.NET Professional (AjaxPro). Insufficient validation of user-controlled JSON type information permits deserialization of arbitrary .NET classes, potentially enabling unauthenticated remote code execution. Exposed methods accepting arbitrary objects provide an attack surface; many deployments include an enabled ICartService class with such a method. Affected software includes Ajax.NET Professional versions before 21.11.29.1 and all versions of the ajaxpro.2 package. The vulnerability has been exploited in the wild, including by UAT-10147 for initial access to web servers.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code or command execution in the security context of the vulnerable web application, compromising the confidentiality, integrity, and availability of resources accessible to that identity. Attackers can use this foothold to deploy web shells or backdoors, steal application-accessible data, and alter hosted applications. Administrative or SYSTEM privileges are not an inherent outcome; further privilege escalation depends on separate weaknesses or excessive application privileges.

Mitigation

If you can’t patch tonight, do this now.

No complete workaround is identified. Until the fixed release can be deployed, disable unnecessary AjaxPro functionality or restrict access to affected endpoints to trusted clients. Apply least privilege to IIS application-pool identities to limit the consequences of exploitation, and monitor web application activity for web-shell deployment, unexpected process execution, and suspicious outbound connections. These controls reduce exposure or impact but do not correct unsafe deserialization. Avoid unofficial binary and package distributions that may retain vulnerable code.

Remediation

Patch, then assume compromise.

Upgrade Ajax.NET Professional to version 21.11.29.1 or later using the official project source or official NuGet distribution. Replace vulnerable ajaxpro.2 packages and other unofficial distributions with the maintained official release rather than assuming that their package versions contain the fix. Verify the actual deployed assemblies and dependent applications after updating. Investigate previously exposed systems for compromise, because patching does not remove an established attacker foothold.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
ajaxpro_deserialization_rce.rbThis repository contains a single Metasploit module (modules/exploits/windows/http/ajaxpro_deserialization_rce.rb) that exploits a remote code execution vulnerability (CVE-2021-23758) in Ajax.NET Professional (AjaxPro) for Windows. The exploit targets an insecure deserialization flaw in the AjaxPro JsonDeserializer, allowing attackers to execute arbitrary commands on the server by sending specially crafted JSON data to a vulnerable HTTP endpoint. The module supports both direct command execution and staged payloads (such as Meterpreter reverse shells), leveraging Metasploit's payload system. The exploit is weaponized, allowing for customizable payloads and automated exploitation. The main endpoints targeted are the AjaxPro handler paths (e.g., /ajaxpro/, /core.ashx, and the vulnerable namespace/method .ashx endpoint). The module is configurable for different namespaces, methods, and parameters, making it adaptable to various AjaxPro deployments. The repository is structured as a typical Metasploit exploit module, written in Ruby, and is intended for use within the Metasploit Framework.Disclosed Dec 3, 2021 · Framework: metasploit · ruby · networkWeaponizedCVE-2021-23758-POCThis repository is a proof-of-concept (POC) exploit for CVE-2021-23758, a critical deserialization vulnerability in Ajax.NET Professional (AjaxPro) for ASP.NET. The exploit demonstrates how an attacker can achieve remote code execution (RCE) by sending a specially crafted POST request to a vulnerable AjaxPro handler (e.g., /ajaxpro/CVE_2021_23758_POC.demo,CVE_2021_23758.ashx). The payload leverages .NET's JavaScriptSerializer to deserialize a malicious ObjectDataProvider object, which in turn launches an arbitrary process (calc.exe in the POC). The repository contains a full ASP.NET WebForms project, including the vulnerable handler, demo pages, and all necessary configuration files. The main exploit vector is network-based, requiring access to the vulnerable HTTP endpoint. The exploit is operational and demonstrates real code execution, but is not weaponized for mass exploitation. The repository structure is typical for a Visual Studio ASP.NET project, with C# source files, ASPX pages, configuration files, and supporting scripts and styles. The README provides clear instructions and a sample payload, as well as references to ysoserial.net for payload generation.numanturle · Disclosed Dec 15, 2021 · csharp · aspx · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Ajaxpro.2 ProjectAjaxpro.2application
MichaelschwarzAjax.Net Professionalapplication
FAQ

Frequently asked questions

Is CVE-2021-23758 exploited in the wild?
Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 26, 2026.
Is there a public exploit for CVE-2021-23758?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-23758, the earliest disclosed Dec 3, 2021.
Is there a patch for CVE-2021-23758?
Upgrade Ajax.NET Professional to version 21.11.29.1 or later using the official project source or official NuGet distribution. Replace vulnerable ajaxpro.2 packages and other unofficial distributions with the maintained official release rather than assuming that their package versions contain the fix.
What products are affected by CVE-2021-23758?
Michaelschwarz Ajax.Net Professional and Ajaxpro.2 Project Ajaxpro.2.
How severe is CVE-2021-23758?
CVE-2021-23758 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 82.6% (100th percentile) as of Nov 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware11Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity16Community discussion across Reddit, Mastodon, and other social sources.