Skip to content

170 practical guides on SAP, cybersecurity and AI, $29 each. Shop all books ›

0

Blog›SAP

SAP Vulnerabilities, Threats and Risks: What Attackers Exploit and How to Respond

Vulnerabilities, threats and risks are different things in SAP security. See the code flaws and weak settings attackers exploit, real cases like CVE-2025-31324, and how to reduce risk.

SAP systems hold the payroll, the supplier bank accounts, the product recipes and the general ledger. That makes them the most valuable target inside most large companies, and for years they were also one of the least watched. Security teams monitored laptops and email while SAP sat behind the firewall, run by a Basis team with different priorities. Attackers noticed.

In SAP security, a vulnerability is a weakness, such as a missing authentication check or an open gateway. A threat is someone or something that could exploit it, such as a ransomware group. A risk is the business impact if they do, weighed by how likely it is. Managing SAP security means reducing all three: fixing weaknesses, watching for threats and deciding which risks the business accepts.

In one sentence: Most SAP compromises combine a known vulnerability or weak setting with an attacker who found it first, so patching, hardening and monitoring together decide your risk.

Key takeaways

  • Vulnerability, threat and risk are different things; you can only control the first directly.
  • Ransomware groups and state-backed actors have exploited SAP flaws, notably CVE-2025-31324 in 2025.
  • Many SAP weaknesses are configuration, not code: open gateways, default users and unneeded web services.
  • Internet-facing Java stacks, Web Dispatcher and Gateway deserve the fastest patching.
  • Insider and authorization risks matter as much as outside attackers.

Vulnerability, threat and risk: what’s the difference?

Term Plain meaning SAP example
Vulnerability A weakness that could be used against you An unpatched note, SAP* with a default password, a permissive reginfo file
Threat Who or what might use it A ransomware group scanning for NetWeaver Java servers; an employee who wants to pay a fake supplier
Risk What it would cost and how likely it is Payroll offline at month end; fraudulent payments; stolen customer data

The difference matters because it changes your response. A Critical note in a component you don’t run is a vulnerability with no risk. A Medium flaw on an internet-facing server with a known threat actor scanning for it can be your top priority.

What vulnerabilities affect SAP systems?

SAP vulnerabilities come in two families. Code flaws are fixed with security notes. Configuration weaknesses are fixed with hardening.

Code flaws fixed by SAP security notes

  • Missing authentication or authorization checks in web components, which can let anyone on the network run privileged functions.
  • Code injection and deserialization, often in Java components and integration tools.
  • Memory corruption in kernel components such as the Internet Communication Manager.
  • Cross-site scripting and information disclosure in web and UI layers, usually lower scores but common.
  • Flaws in custom ABAP code, such as SQL injection or missing AUTHORITY-CHECK statements. SAP doesn’t patch these; you do.

Configuration weaknesses fixed by hardening

  • Open RFC gateways whose reginfo and secinfo files let unknown programs register or start.
  • Message servers reachable from user networks, which can let an attacker register a fake application server.
  • Standard users such as SAP*, DDIC, EARLYWATCH, TMSADM and SAPCPIC with default passwords in some client.
  • Unneeded ICF services left active in SICF, including test and anonymous services.
  • Open clients that allow changes in production, and weak password or hash settings.

SAP’s Security Baseline Template, delivered through SAP Note 2253549, lists the settings SAP expects. It’s the best single reference for the configuration family.

Who actually attacks SAP systems?

Real cases show three kinds of threat:

  • Criminal groups. After SAP disclosed CVE-2025-31324 in April 2025, researchers at ReliaQuest linked exploitation of vulnerable NetWeaver servers to the BianLian and RansomEXX ransomware operations.
  • State-backed actors. EclecticIQ reported several China-linked groups using the same flaw to drop web shells on NetWeaver servers worldwide.
  • Insiders. Employees and contractors already have accounts. Fraud through excessive authorizations or segregation of duties conflicts doesn’t need a CVE at all.

The 2025 case is instructive. The flaw sat in the Visual Composer development server on SAP NetWeaver AS Java, scored CVSS 10.0, and allowed unauthenticated file uploads. Onapsis reported exploitation had begun in March 2025, weeks before public advisories, and CISA added it to the Known Exploited Vulnerabilities catalog on April 29, 2025.

Which SAP components carry the most risk?

Component Why it’s exposed Example
NetWeaver AS Java Web-based, often runs portals that face partners or the internet CVE-2020-6287 (RECON), CVSS 10, in the LM Configuration Wizard
Web Dispatcher and ICM First thing an HTTP request reaches Two of the four CVSS 10.0 notes on the November 2026 Patch Day
Gateway and RFC System-to-system calls with powerful technical users Permissive reginfo and secinfo files that let unknown programs connect
Interfaces and BTP connectors Link cloud services to on-premises systems Over-privileged RFC users in destinations
Custom ABAP Written in-house, rarely security-tested Missing authorization checks in Z reports

How do you assess SAP security risk?

  1. Know what you run. List systems, components, versions, clients and which ones are reachable from user networks, partners or the internet.
  2. Check patches. Compare installed notes against SAP’s monthly bulletins, using System Recommendations in Solution Manager or Cloud ALM.
  3. Check configuration. Measure your systems against the Security Baseline Template: gateway, message server, standard users, ICF services, password settings.
  4. Check access. Run SoD and critical access analysis for users with powerful authorizations such as SAP_ALL, user administration and payment runs.
  5. Check visibility. Confirm the Security Audit Log is on and that SAP logs reach your SOC.
  6. Rank by business impact. A finding in the system that pays suppliers outranks the same finding in a training system.

How do you reduce SAP risk in practice?

  • Patch on a schedule. Read every monthly Patch Day bulletin and set deadlines by priority and exposure.
  • Harden to a baseline. Close gateways, lock standard users, deactivate unneeded services and check for drift.
  • Segment the network. Keep message server and gateway ports away from user networks; put Web Dispatcher in front of anything internet-facing.
  • Control authorizations. Least privilege, clean roles, SoD analysis and firefighter access for emergencies.
  • Monitor. Feed the Security Audit Log and other SAP logs into threat detection so someone notices a web shell or a new admin user.
  • Prepare to respond. Have an SAP-specific incident plan, including who can take a system offline at month end.

Frequently asked questions

What is the most common SAP vulnerability?

There’s no single answer, but security auditors regularly cite permissive RFC gateway access control lists as a frequent external exposure, alongside missing security notes and standard users with default passwords.

Are SAP systems targeted by ransomware?

Yes. In 2025, security researchers linked the BianLian and RansomEXX operations to exploitation of CVE-2025-31324 on SAP NetWeaver servers, alongside several state-backed groups.

Does RISE with SAP remove these risks?

It moves some of them. SAP takes on more infrastructure and patching work, but customers still own authorizations, custom code, interfaces and much of the monitoring.

What is the SAP Security Baseline Template?

It’s SAP’s reference list of recommended security settings for SAP systems, delivered through SAP Note 2253549. Many teams use it to measure hardening and configuration drift.

The bottom line

SAP risk is real and well documented: criminal and state-backed groups have exploited SAP flaws, and insiders can do damage through ordinary authorizations. Treat vulnerabilities, threats and risks separately, then work the basics every month: patch by exposure, harden to SAP’s baseline, control access and watch the logs. For related reading, see how ransomware works and what RISE with SAP changes.

Sources: Onapsis: active exploitation of CVE-2025-31324; The Hacker News: BianLian and RansomExx exploit SAP NetWeaver flaw; Help Net Security: RECON, CVE-2020-6287; ERP Today: November 2026 Patch Day.

Go deeper with these books