Cyber Security News

Critical SAP NetWeaver Flaw Allows Attackers to Execute Arbitrary Code

A critical security vulnerability has been discovered in SAP NetWeaver AS Java Deploy Service that enables authenticated attackers to execute arbitrary code and potentially achieve complete system compromise.

The flaw, tracked as CVE-2025-42922, affects the Deploy Web Service component and poses significant risks to organizations running affected SAP environments.

Vulnerability Details and Attack Vector

The vulnerability stems from insecure file upload mechanisms and insufficient access control validation within the Deploy Web Service, as per a report by Redrays.

The core issue involves improper handling of multipart/form-data requests without adequate role-based access control (RBAC) enforcement or file type validation.

 This security gap allows authenticated users with low-level privileges to bypass intended restrictions and upload malicious files to the system.

CVE NumberAffected ProductImpact AssessmentCVSS 3.1 Score
CVE-2025-42922SAP NetWeaver AS Java Deploy ServiceCritical – Arbitrary code execution and full system compromiseNot specified – Critical severity

The attack scenario begins when threat actors obtain low-privileged credentials through various means such as credential stuffing, social engineering, or exploitation of other vulnerabilities.

Once authenticated, attackers can craft malicious multipart requests containing executable files like JSP, WAR, or EAR files.

The Deploy Web Service accepts these uploads without proper validation, storing them in locations where they can be executed.

When attackers trigger the uploaded malicious files, they achieve remote code execution, leading to potential privilege escalation, lateral movement within the network, and sensitive data exfiltration.

Organizations using SAP NetWeaver AS Java must immediately apply patches available through SAP Security Note 3643865.

Before implementing patches, administrators should perform dependency analysis according to SAP Note 1974464 to ensure system compatibility and prevent potential disruptions.

For environments where immediate patching is not feasible, SAP provides a temporary workaround detailed in Knowledge Base Article (KBA) 3646072.

Additionally, organizations should restrict Deploy Web Service access exclusively to administrative users and implement comprehensive audit logging to monitor suspicious POST requests to deployment endpoints.

Security teams should implement monitoring for specific indicators of compromise (IOCs) including HTTP POST requests to DeployWS endpoints from non-administrative users, multipart/form-data submissions containing executable file types, unexpected URL access patterns following file deployments, and deployment activities occurring during unusual timeframes.

Recommended detection filters include monitoring for source users other than administrators making POST requests to paths containing “DeployWS” with multipart/form-data content types.

Organizations should also review existing access logs for historical signs of exploitation attempts.

The discovery of this vulnerability underscores the critical importance of maintaining robust access controls and file validation mechanisms in enterprise applications, particularly those handling deployment services that could provide pathways to system-level access.

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago