what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

SAP NetWeaver ABAP IGS Memory Corruption

SAP NetWeaver ABAP IGS Memory Corruption
Posted Oct 22, 2021
Authored by Yvan Genuer | Site onapsis.com

The SAP NetWeaver ABAP IGS service suffers from multiple memory corruption vulnerabilities.

tags | advisory, vulnerability
advisories | CVE-2021-27620, CVE-2021-27622, CVE-2021-27624, CVE-2021-27625, CVE-2021-27626, CVE-2021-27627
SHA-256 | 2d1f0734303783a8b47a886f91b23670d4395d5d4ed4501f6e4af6001b97b2b7

SAP NetWeaver ABAP IGS Memory Corruption

Change Mirror Download
# Onapsis Security Advisory 2021-0019: [Multiple CVEs] Memory Corruption
vulnerability in SAP NetWeaver ABAP IGS service

## Impact on Business

An unauthenticated attacker without specific knowledge of the system can
send a
specially crafted packet over a network which will trigger an internal
error in
the system causing the system to crash and rendering it unavailable.

## Advisory Information

- Public Release Date: 11/22/2021
- Security Advisory ID: ONAPSIS-2021-0019
- Researcher(s): Yvan Genuer

## Vulnerability Information

- Vendor: SAP
- Affected Components:
- SAP IGS 7.20
- SAP IGS 7.53
- SAP IGS 7.20\_EX2
- SAP IGS 7.81

(Check SAP Note 3021050 for detailed information on affected releases)

- Vulnerability Class: CWE-20, CWE-125, CWE-834
- CVSS v3 score: 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Risk Level: High
- Assigned CVE:
- Vendor patch Information: SAP Security NOTE 3021050

## Affected Components Description

The SAP IGS is a widely-used, server-based engine for generating graphical
non-graphical content based on data from an SAP system or an external
An integral part of its architecture are different interpreters responsible
the semantic processing of the received data. The appropriate interpreter is
selected by a portwatcher and depends on the basis of the requested type of
information (ex: chart, map, zip).

## Vulnerability Details

CVE-2021-27620: An out of bounds read access exists in function
in IGS portwatcher binary through the SAP IGS service. The function uses
directly a part of the packet as a counter in movs instruction.

CVE-2021-27622: It is possible to trigger an undesired excessive iteration
vulnerability in `CDrawRaster::LoadImageFromMemory` in IGS portwatcher
imgconv.so through the SAP IGS service. In particular image requests, the
of color planes can be overwritten by the number of bits per pixel. This
led to
an excessive loop where a movzx instruction eventually crashed.

CVE-2021-27624: An undesired excessive iteration vulnerability exists in
function `CiXMLIStreamRawBuffer::readRaw` in IGS Portwatcher binary through
SAP IGS service. In particular IGS packet type, the size of the provided
is directly read from the packet itself. An attacker can craft a malicious
packet to force the function to read outside his memory slot. After a few
iterations, around 0x5780, the program crashed.

CVE-2021-27625: A memory corruption vulnerability exists in function
`CXmlUtility::CheckLength` in IGS library xmlchart.so through the SAP IGS
service. The function `CChartCuParser::Load` dereference a pointer due to
high value provided into the igs table entry for the provided input. This
to set high offset value for next input, leading to crash.

CVE-2021-27626: A memory corruption vulnerability exists in function
`CMiniXMLParser::Parse` in IGS Portwatcher binary through the SAP IGS
By crafting a malicious igs packet, the attacker can provide the wrong size
the provided input content. This size is directly read from the IGS table
CLWD, then used as counter to read the content part

CVE-2021-27627: A memory corruption vulnerability exists in function
`ChartInterpreter::DoIt()` in IGS Portwatcher binary through the SAP IGS
service. This function fails to verify the return value of several
when checking the content of parameter input for a particular interpreter.
crafting a malicious network packet, an attacker can force the function to
return 0x0 at a particular point, leading to breaking the calculation of the
next parameter offset and crash.

## Solution

SAP has released SAP Note 3021050 which provide patched versions of the
affected components.

The patches can be downloaded from

Onapsis strongly recommends SAP customers to download the related
security fixes and apply them to the affected components in order to
reduce business risks.

## Report Timeline

- 02/01/2021: Onapsis sends details to SAP
- 02/04/2021: SAP provides internal ID
- 02/08/2021: SAP confirms CVSS
- 06/09/2021: SAP releases SAP Note fixing the issue.
- 11/22/2021: Advisory published

## References

- Onapsis blogpost:
- CVE Mitre:
- Vendor Patch:

## About Onapsis Research Labs

Onapsis Research Labs provides the industry analysis of key security
issues that impact business-critical systems and applications.
Delivering frequent and timely security and compliance advisories with
associated risk levels, Onapsis Research Labs combine in-depth knowledge
and experience to deliver technical and business-context with sound
security judgment to the broader information security community.

Find all reported vulnerabilities at

## About Onapsis, Inc.

Onapsis protects the mission-critical applications that run the global
from the core to the cloud. The Onapsis Platform uniquely delivers
insight, secure change, automated governance and continuous monitoring for
systems—ERP, CRM, PLM, HCM, SCM and BI applications—from leading vendors
such as SAP,
Oracle, Salesforce and others, while keeping them protected and compliant.

For more information, connect with us on Twitter or LinkedIn, or visit us at

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly

Login or Register to add favorites

File Archive:

October 2022

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By