Advertisement
moften

ERPSCAN Research Advisory [ERPSCAN-15-017] SAP NetWeaver J2E

Oct 18th, 2015
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. ERPSCAN Research Advisory [ERPSCAN-15-017] SAP NetWeaver J2EE DAS
  2. service - Unauthorized Access
  3.  
  4.  
  5. Application: SAP NetWeaver
  6. Versions Affected: SAP NetWeaver AS JAVA, probably others
  7. Vendor URL: http://SAP.com
  8. Bugs: Unauthorized access
  9. Sent: 20.04.2013
  10. Reported: 21.04.2013
  11. Vendor response: 21.04.2013
  12. Date of Public Advisory: 13.10.2015
  13. Reference: SAP Security Note 1945215
  14. Author: Alexander Polyakov (ERPScan)
  15.  
  16.  
  17. Description
  18. 1. ADVISORY INFORMATION
  19. Title: SAP NetWeaver J2EE DAS service – Unauthorized Access
  20. Advisory ID: [ERPSCAN-15-017]
  21. Risk: High
  22. Advisory URL: http://erpscan.com/advisories/erpscan-15-017-sap-netweaver-j2ee-das-service-unauthorized-access/
  23. Date published: 13.10.2015
  24. Vendors contacted: SAP
  25.  
  26.  
  27. 2. VULNERABILITY INFORMATION
  28. Class: Unauthorized Access [CWE-284]
  29. Impact: Unauthorized access to some functions
  30. Remotely Exploitable: Yes
  31. Locally Exploitable: No
  32.  
  33. CVSS Information
  34. CVSS Base Score: 3.5 / 10
  35. CVSS Base Vector:
  36. AV : Access Vector (Related exploit range)
  37. Network (N)
  38. AC : Access Complexity (Required attack complexity)
  39. Medium (M)
  40. Au : Authentication (Level of authentication needed to exploit)
  41. Single (S)
  42. C : Impact to Confidentiality
  43. Partial (P)
  44. I : Impact to Integrity
  45. None (N)
  46. A : Impact to Availability
  47. None (N)
  48.  
  49. 3. VULNERABILITY DESCRIPTION
  50. An authenticated user can use the functions of XML Data Archiving
  51. Service access to which should be restricted. This may result in
  52. privilege escalation.
  53.  
  54.  
  55. 4. VULNERABLE PACKAGES
  56. SAP NetWeaver AS JAVA
  57. Other versions are probably affected too, but they were not checked.
  58.  
  59.  
  60. 5. SOLUTIONS AND WORKAROUNDS
  61. To correct this vulnerability, install SAP Security Note 1945215.
  62.  
  63.  
  64. 6. AUTHOR
  65. Alexander Polyakov (ERPScan)
  66.  
  67.  
  68. 7. TECHNICAL DESCRIPTION
  69. It is possible to call some of the DAS files without authorization
  70. because they do not check if a user is authorized to access some of
  71. the JSPs.
  72.  
  73. Most JSPs have authorization checks:
  74.  
  75. String authorization = (String) session.getAttribute("AuthRequHead");
  76. if (authorization == null)
  77. authorization = "";
  78.  
  79. But in 3 JSPs those checks are not included:
  80.  
  81. http://SAP_IP/DataArchivingService/webcontent/cas/cas_enter.jsp
  82. http://SAP_IP/DataArchivingService/webcontent/cas/cas_validate.jsp
  83. http://SAP_IP/DataArchivingService/webcontent/aas/aas_store.jsp
  84.  
  85. It means that an anonymous user can call those JSPs.
  86.  
  87. The most critical one is cas_enter.jsp.
  88.  
  89. We can create any archiving directory and also:
  90. 1) Check if there is any file or directory on the server by analyzing
  91. the response while creating an archive store
  92. 2) Perform an SMBRelay attack by putting something like
  93. \\remotehost\aa into the Windows root variable
  94. 3) Potentially make HTTP calls and other calls while using WebDav
  95.  
  96.  
  97. 8. REPORT TIMELINE
  98. Sent: 20.04.2013
  99. Reported: 21.04.2013
  100. Vendor response: 21.04.2013
  101. Date of Public Advisory: 13.10.2015
  102.  
  103.  
  104. 9. REFERENCES
  105. http://erpscan.com/advisories/erpscan-15-017-sap-netweaver-j2ee-das-service-unauthorized-access/
  106.  
  107.  
  108. 10. ABOUT ERPScan Research
  109. The company’s expertise is based on the research subdivision of
  110. ERPScan, which is engaged in vulnerability research and analysis of
  111. critical enterprise applications. It has achieved multiple
  112. acknowledgments from the largest software vendors like SAP, Oracle,
  113. Microsoft, IBM, VMware, HP for exposing 400+ vulnerabilities in their
  114. solutions (200 of them just in SAP!).
  115. ERPScan researchers are proud to have exposed new types of
  116. vulnerabilities (TOP 10 Web Hacking Techniques 2012) and were
  117. nominated for best server-side vulnerability at BlackHat 2013.
  118. ERPScan experts have been invited to speak, present, and train at 60+
  119. prime international security conferences in 25+ countries across the
  120. continents. These include BlackHat, RSA, HITB as well as private
  121. trainings for SAP in several Fortune 2000 companies.
  122. ERPScan researchers lead project EAS-SEC, which is focused on
  123. enterprise application security research and awareness. They have
  124. published 3 exhaustive annual award-winning surveys about SAP
  125. security.
  126. ERPScan experts have been interviewed by leading media resources and
  127. specialized info-sec publications worldwide: Reuters, Yahoo, SC
  128. Magazine, The Register, CIO, PC World, DarkReading, Heise, and
  129. Chinabyte, to name a few.
  130. We have highly qualified experts in staff with experience in many
  131. different fields of security, from web applications and
  132. mobile/embedded to reverse engineering and ICS/SCADA systems,
  133. accumulating their experience to conduct research in SAP security.
  134.  
  135.  
  136. 11. ABOUT ERPScan
  137. ERPScan is the most respected and credible Business Application
  138. Security provider. Founded in 2010, the company operates globally and
  139. enables large Oil and Gas, Financial, and Retail organizations to
  140. secure their mission-critical processes. Named an Emerging Vendor in
  141. Security by CRN, listed among TOP 100 SAP Solution Providers and
  142. distinguished by 30+ other awards, ERPScan is the leading SAP SE
  143. partner in discovering and resolving security vulnerabilities. ERPScan
  144. consultants work with SAP SE in Walldorf to assist in improving the
  145. security of their latest solutions.
  146. ERPScan’s primary mission is to close the gap between technical and
  147. business security, and provide solutions to evaluate and secure SAP
  148. and Oracle ERP systems and business-critical applications from both
  149. cyber-attacks and internal fraud. Usually our clients are large
  150. enterprises, Fortune 2000 companies, and managed service providers
  151. whose requirements are to actively monitor and manage security of vast
  152. SAP landscapes on a global scale.
  153. We ‘follow the sun’ and function in two hubs, located in Palo Alto and
  154. Amsterdam, to provide threat intelligence services and agile support,
  155. operate local offices and partner network spanning 20+ countries
  156. around the globe.
  157.  
  158.  
  159. USA address: 228 Hamilton Avenue, Fl. 3, Palo Alto, CA. 94301
  160. Phone: 650.798.5255
  161. Twitter: @erpscan
  162. Scoop-it: Business Application Security
  163. http://erpscan.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement