Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

Directory Traversal in Report RSDBGENA, SAP security note 1514385

SAP Note 1514385
SAP Security Note
High priority

SAP security note 1514385, "Directory Traversal in Report RSDBGENA", is a program error note released on 14.12.2010. Below are the symptom, SAP recommended solution and the affected software components.

ComponentBasis Components > ABAP Runtime Environment – ABAP Language Issues Only > Syntax, Compiler, Runtime
CategoryProgram error
PriorityCorrection with high priority
TypeSAP Security Note
Version3
StatusReleased for Customer
Released on14.12.2010
LanguageEnglish

Description

Symptom

Report RSDBGENA contains a vulnerability through which a malicious user can potentially overwrite arbitrary files on the remote server, possibly corrupting data or altering system behavior.

Solution

The referenced correction instruction restricts the choice of the filename to RSDBGENA<suffix>.txt where <suffix> can be entered by the user. <suffix> can contain uppercase letters, digits, and "_" (underscore). The path is restricted to paths accessible by the work process.

Reason and prerequisites

RSDBGENA fails to restrict the path and filename a logging file is written to. Through this, an attacker can potentially overwrite data on the remote system.

References

Affected components

  • SAP_APPL versions 31I, 40B, 45B
  • SAP_BASIS versions 46B to 46D, 610 to 640, 700 to 730, 72L

Full note on SAP: SAP Support Launchpad note 1514385

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

Explore More