Categories: Breaking NewsHacking

Serious security issue affects SAP HANA systems

Security experts at ERPScan discovered a serious security issue in SAP’s in-memory relational database management system, HANA.

The SAP in-memory relational database management system, HANA, is affected by a serious security issue, the static encryption key is stored in the database.

The fact that the encryption key is static means that every SAP HANA installation by default use the same key, an attacker that is able to access it can potentially hack several systems.

The researchers at ERPScan presented the security issue during the Black Hat hacking conference held in Amsterdam. The same team recently disclosed serious configuration flaws in Oracle PeopleSoft products.

According to Alexander Polyakov, chief technology officer of ERPScan, an attacker could run several types of attacks such as a SQL injection attack to steal the key stored in the SAP database, a directory traversal or an XML external entity attack.

The default encryption key is used to protect data managed by the platform, including passwords and platform backups.

Since the encryption key is static and the same for every SAP HANA installation by default, an attacker with access would be able to read an encrypted data store.

Polyakov remarked that SAP admins rarely change the default encryption key exposing their installations to the attacks.

“The software ships with a default configuration and the user can actually change this configuration as it says in the security guide. But this document is quite complex (170 pages),” Polyakov said.

The security expert Dmitry Chastuhin from ERPScan publicly disclosed the encryption vulnerability and also a SQL injection bug in Hana XS Server that was already patched by SAP.

The experts explained that SAP uses a storage dubbed hdbuserstore to archive HANA data at regular savepoints, the worrying thing is that almost every ERPScan customer using HANA still uses the default master key to encrypt hdbuserstore.

“Some data is actually stored on the disc. For example, some technical user accounts and passwords along with keys for decrypting savepoints are stored in storage named hdbuserstore.,” Polyakov said. “This storage is a simple file on the disc. It is encrypted using 3DES algorithm with a static master key. Once you have access to this file and decrypt it with static master key, which is the same on every installation, you get system user passwords and keys for disk encryption. After that, you can get access to all data.”

Chastuhin also discovered a similar encryption flaw that affects the SAP Mobile platform, also in this case the application uses a known static key protecting its data. The researcher explained that an attacker can exploit a XXE vulnerability to access the configuration file that contains a password and decrypt is using the static key.

[adrotate banner=”9″]

Pierluigi Paganini

(Security Affairs –  SAP  HANA, hacking)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Cisco addressed high-severity flaws in IOS and IOS XE software

Cisco addressed multiple vulnerabilities in IOS and IOS XE software that can be exploited to…

12 mins ago

Google: China dominates government exploitation of zero-day vulnerabilities in 2023

Google's Threat Analysis Group (TAG) and Mandiant reported a surge in the number of actively…

7 hours ago

Google addressed 2 Chrome zero-days demonstrated at Pwn2Own 2024

Google addressed two zero-day vulnerabilities in the Chrome web browser that have been demonstrated during…

18 hours ago

INC Ransom stole 3TB of data from the National Health Service (NHS) of Scotland

The INC Ransom extortion group hacked the National Health Service (NHS) of Scotland and is threatening…

22 hours ago

CISA adds Microsoft SharePoint bug disclosed at Pwn2Own to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Microsoft SharePoint vulnerability disclosed at the…

1 day ago

The DDR Advantage: Real-Time Data Defense

This is the advantage of Data Detection and Response (DDR) for organizations aiming to build…

1 day ago

This website uses cookies.