Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-26658 Overview
CVE-2025-26658 affects the Service Layer in SAP Business One. The vulnerability stems from improper session management, allowing attackers to hijack authenticated sessions and impersonate legitimate users. Successful exploitation lets an attacker elevate privileges, then read, modify, or write application data. SAP disclosed the issue on March 11, 2025, and tracks the fix in SAP Note #3561045. The weakness is classified under [CWE-384: Session Fixation]. Exploitation requires significant effort to capture valid session material, which constrains attack feasibility. However, the impact on confidentiality and integrity of SAP Business One data is substantial once a session is captured.
Critical Impact
Attackers who capture authenticated sessions can impersonate other users, escalate privileges, and tamper with business-critical data in SAP Business One.
Affected Products
- SAP Business One (Service Layer component)
- Versions referenced in SAP Note #3561045
- Deployments exposing the Service Layer over the network
Discovery Timeline
- 2025-03-11 - CVE-2025-26658 published to NVD and disclosed via SAP Security Patch Day
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-26658
Vulnerability Analysis
The Service Layer in SAP Business One exposes a REST and OData interface used by clients and integrations. The flaw lies in how the Service Layer manages authenticated sessions. An attacker who obtains a valid session identifier belonging to another user can replay it to the Service Layer and act as that user. The server does not sufficiently bind sessions to their originating context, enabling impersonation across privilege boundaries. An attacker already holding low-privilege credentials can escalate to higher-privileged roles after capturing a target session. The attack affects confidentiality and integrity of application data without impairing availability.
Root Cause
The root cause is improper session management [CWE-384]. The Service Layer accepts session tokens without adequate validation that ties them to the authenticated principal, source, or lifecycle controls. This allows reuse of session material outside the original client context.
Attack Vector
Exploitation occurs over the network against the Service Layer endpoint. The attacker needs low-privileged authenticated access and must invest effort to obtain valid session tokens of other users. User interaction is not required. Token capture can involve network observation, replay of insufficiently protected session identifiers, or abuse of session issuance logic. Once a target token is replayed, the Service Layer treats requests as the impersonated user.
No verified public exploit code is available. See SAP Note #3561045 for vendor-authoritative technical detail.
Detection Methods for CVE-2025-26658
Indicators of Compromise
- Reuse of the same Service Layer session token from multiple source IP addresses or user agents within a short window.
- Service Layer API calls executing privileged operations from accounts that normally perform only read or data-entry tasks.
- Unexpected changes to master data, journal entries, or user records attributed to accounts outside their normal business hours.
Detection Strategies
- Correlate Service Layer access logs with authentication events to detect session identifiers used across disparate client contexts.
- Alert on privilege-sensitive OData operations issued by accounts with no prior history of such calls.
- Baseline per-user API call patterns and flag sudden deviations in endpoints, request volume, or object scope.
Monitoring Recommendations
- Forward SAP Business One Service Layer and HANA/SQL audit logs to a centralized SIEM for retention and correlation.
- Monitor TLS termination points for session cookies traversing unencrypted segments or being issued without Secure and HttpOnly flags.
- Track administrative role assignments and permission grants performed through the Service Layer in near real time.
How to Mitigate CVE-2025-26658
Immediate Actions Required
- Apply the fix referenced in SAP Note #3561045 to all SAP Business One Service Layer instances.
- Rotate active Service Layer sessions and force reauthentication for all users after patching.
- Restrict network exposure of the Service Layer to trusted application tiers and management networks only.
- Review audit logs for prior session reuse or anomalous privileged actions and investigate suspected impersonation.
Patch Information
SAP published the corrective guidance in SAP Note #3561045, released on SAP Security Patch Day. Administrators should consult the note for exact product versions, prerequisites, and installation steps. Reference material is also available via the SAP Security Patch Day portal.
Workarounds
- Terminate the Service Layer behind a reverse proxy that enforces mutual TLS or client certificate authentication until patched.
- Shorten session lifetime and idle timeout values to reduce the window available for token replay.
- Enforce strict transport security so session identifiers never traverse unencrypted channels.
- Restrict Service Layer access by source IP allowlist to limit the attack surface for token capture and replay.
# Example: restrict Service Layer exposure at the reverse proxy (nginx)
server {
listen 443 ssl;
server_name b1-servicelayer.internal;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
# Allow only trusted application tier subnets
allow 10.20.30.0/24;
deny all;
# Require client certificates from internal integrations
ssl_verify_client on;
ssl_client_certificate /etc/nginx/ca/internal-ca.pem;
location / {
proxy_pass https://b1-servicelayer-backend:50000;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

