exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

SAP NetWeaver J2EE Engine 7.40 SQL Injection

SAP NetWeaver J2EE Engine 7.40 SQL Injection
Posted Dec 14, 2015
Authored by Vahagn Vardanyan

SAP NetWeaver J2EE engine version 7.40 suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
advisories | CVE-2015-7239
SHA-256 | b8ba26b8f5b9d0f92e607106034454f1bc8b74eff9a4d560a2a111acb23b6525

SAP NetWeaver J2EE Engine 7.40 SQL Injection

Change Mirror Download
Application:                SAP NetWeaver
Versions Affected: SAP NetWeaver J2EE Engine 7.40
Vendor URL: http://SAP.com
Bugs: SQL injection
Send: 13.07.2015
Reported: 13.07.2015
Vendor response: 14.07.2015
Date of Public Advisory: 14.12.2015
Reference: SAP Security Note 2193389
Author: Vahagn Vardanyan (ERPScan)



Description


1. ADVISORY INFORMATION

Title: SAP NetWeaver 7.40
Advisory ID: [ERPSCAN-15-021]
Risk: Hight
Advisory URL: http://erpscan.com/advisories/erpscan-15-021-sap-netweaver-7-4-bp_find_jobs_with_program-sql-injecti/
Date published: 14.12.2015
Vendors contacted: SAP

2. VULNERABILITY INFORMATION

Class: Information Exposure [CWE-89]
Impact: SQL injection, database, SAP Batch Processing
Remotely Exploitable: Yes
CVE Name: CVE-2015-7239
CVSS Information
CVSS Base Score: 4.6 / 10
CVSS Base Vector:
AV: Access Vector (Related exploit range)
Network (N)
AC: Access Complexity (Required attack complexity) High (H)
Au: Authentication (Level of authentication needed to exploit) Single (S)
C: Impact to Confidentiality
Partial (P)
I: Impact to Integrity
Partial (P)
A: Impact to Availability
Partial (P)



3. VULNERABILITY DESCRIPTION

An SQL injection vulnerability means that the code comprises an SQL
statement that contains strings that can be altered by an attacker.
The manipulated SQL statement can then be used to retrieve additional
data from the database, or to modify the data.


4. VULNERABLE PACKAGES

SAP NetWeaver 7.40
Other versions are probably affected too, but they were not checked.

5. SOLUTIONS AND WORKAROUNDS

To correct this vulnerability, install SAP Security Note 2193389


6. AUTHOR

Vahagn Vardanyan (ERPScan)


7. TECHNICAL DESCRIPTION

An attacker can exploit SAP Batch Processing and use specially crafted
inputs to modify database commands. This results in either the
retrieval of additional information or the modification of data
persisted by the system.

PoC

The following code snippet is vulnerable:

****LINE 128****
SELECT * INTO CORRESPONDING FIELDS OF TABLE joblist
FROM tbtcp AS tstep INNER JOIN tbtco AS tjob
ON tjob~jobcount = tstep~jobcount AND
tjob~jobname = tstep~jobname
WHERE (where_main).
****LINE 164****



8. REPORT TIMELINE

Send: 13.07.2015
Reported: 13.07.2015
Vendor response: 14.07.2015
Date of Public Advisory: 14.12.2015


9. REFERENCES

http://erpscan.com/advisories/erpscan-15-021-sap-netweaver-7-4-bp_find_jobs_with_program-sql-injecti/

10. ABOUT ERPScan Research

The company’s expertise is based on the research subdivision of
ERPScan, which is engaged in vulnerability research and analysis of
critical enterprise applications. It has achieved multiple
acknowledgments from the largest software vendors like SAP, Oracle,
Microsoft, IBM, VMware, HP for discovering more than 400
vulnerabilities in their solutions (200 of them just in SAP!).
ERPScan researchers are proud to have exposed new types of
vulnerabilities (TOP 10 Web Hacking Techniques 2012) and to be
nominated for the best server-side vulnerability at BlackHat 2013.
ERPScan experts have been invited to speak, present, and train at 60+
prime international security conferences in 25+ countries across the
continents. These include BlackHat, RSA, HITB, and private SAP
trainings in several Fortune 2000 companies.
ERPScan researchers lead the project EAS-SEC, which is focused on
enterprise application security research and awareness. They have
published 3 exhaustive annual award-winning surveys about SAP
security.
ERPScan experts have been interviewed by leading media resources and
featured in specialized info-sec publications worldwide. These include
Reuters, Yahoo, SC Magazine, The Register, CIO, PC World, DarkReading,
Heise, and Chinabyte, to name a few.
We have highly qualified experts in staff with experience in many
different fields of security, from web applications and
mobile/embedded to reverse engineering and ICS/SCADA systems,
accumulating their experience to conduct the best SAP security
research.


11. ABOUT ERPScan

ERPScan is the most respected and credible Business Application
Security provider. Founded in 2010, the company operates globally and
enables large Oil and Gas, Financial and Retail organizations to
secure their mission-critical processes. Named as an ‘Emerging Vendor’
in Security by CRN, listed among “TOP 100 SAP Solution providers” and
distinguished by 30+ other awards, ERPScan is the leading SAP SE
partner in discovering and resolving security vulnerabilities. ERPScan
consultants work with SAP SE in Walldorf to assist in improving the
security of their latest solutions.
ERPScan’s primary mission is to close the gap between technical and
business security, and provide solutions to evaluate and secure SAP
and Oracle ERP systems and business-critical applications from both,
cyber-attacks as well as internal fraud. Usually our clients are large
enterprises, Fortune 2000 companies and managed service providers
whose requirements are to actively monitor and manage security of vast
SAP landscapes on a global scale.
We ‘follow the sun’ and function in two hubs, located in the Palo Alto
and Amsterdam to provide threat intelligence services, agile support
and operate local offices and partner network spanning 20+ countries
around the globe.


Adress USA: 228 Hamilton Avenue, Fl. 3, Palo Alto, CA. 94301
Phone: 650.798.5255
Twitter: @erpscan
Scoop-it: Business Application Security
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close