Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Collective Note ABAP Session Protection Recommendations, SAP security note 1532777

SAP Note 1532777

SAP security note 1532777, "Collective Note: ABAP Session Protection Recommendations". Below are the symptom and SAP recommended solution.

Description

Symptom

You want to protect your ABAP system against common session attacks such as session hijacking and session fixation.

Solution

  1. Implement Note 1420203 to support applications that require 3rd parties (other HTTP clients) to access stateful HTTP applications, despite the activated session protection mechanisms described in the notes listed below.
  2. After applying Note 1420203, apply the appropriate application notes based on your SAP_BASIS component version:
  3. Apply Note 1531399 to enable SSL. This ensures that credentials, session identifiers, and all access-controlled business data are transmitted in encrypted form, preventing eavesdropping attacks.

Important Remarks

  • The activation of the session protection mechanisms (by setting profile parameters icf/user_recheck or icf/ssocookie_mandatory, or by activating Security Session Management, if applicable) should always be the last step.
  • When performing an SAP_BASIS upgrade from 6.40 or 7.00 to 7.01 (or higher), you must repeat the activation of the session protection mechanism as described in Note 1532874.
  • Prior to activating Security Session Management, apply Note 1471069 if you are using a Portal (this is also mentioned in Note 1322944).

Reason and prerequisites

Previously, the ABAP server performed an access control check only when starting an application. When processing subsequent HTTP requests to stateful applications, only the application session identifier (which can be transmitted in the URL) was validated.

References

Full note on SAP: SAP Support Launchpad note 1532777

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More