For the second time in a week, we are speaking about security vulnerabilities affecting SAP systems, recently I wrote about a study published by the Onapsis firm that revealed over 95% of SAP systems are exposed to vulnerabilities that could lead to full compromise of the company’s business.
This time a proprietary implementation of a popular protocol has created a flaw that could be exploited by hackers, the vulnerability affects SAP data compression software and open to remote code execution and denial-of-service attacks.
The researcher Martin Gallo of Core Security Consulting Services has discovered several vulnerabilities in the decompression routines of two compression algorithms, Lempel-Ziv-Thomas (LZC) adaptive dictionary compression algorithm and the Lempel-Ziv-Huffman (LZH) compression algorithm, implemented by SAP in its solutions.
“SAP products make use of a proprietary implementation of the Lempel-Ziv-Thomas (LZC) adaptive dictionary compression algorithm and the Lempel-Ziv-Huffman (LZH) compression algorithm  . These compression algorithms are used across several SAP products and programs. Vulnerabilities were found in the decompression routines that could be triggered in different scenarios, and could lead to execution of arbitrary code and denial of service conditions.” states the vulnerability description provided by the experts.
The researchers demonstrated that he is able to remotely and locally exploit the flaw. Gallo ethically disclosed his findings with SAP that has fixed these vulnerabilities, now administrators urge to update their systems to patch the bugs.
As reported in the advisory published by Coresecurity, the affected packages are:
The experts highlighted the possibility to run a server-side attack, a client-side attack and Man-in-the-middle attacks.
The server-side components can be attacked by sending crafted packets from a malicious client, the attackers will send a crafted .SAR or .CAR archive to a client to exploit the vulnerability. .SAR or .CAR archive to a client to exploit the vulnerability. .SAR or .CAR archive to a client to exploit the vulnerability. .SAR or .CAR archive to a client to exploit the vulnerability..SAR or .CAR archive to a client to exploit the vulnerability.
Due to the lack of encryption by default, the attackers might be able to run a man-in-the-middle attack and trigger the vulnerabilities by injecting malicious packets within the communication.
SAP issued the following security notes to address the vulnerabilities
(Security Affairs – SAP, Hacking)
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.