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

US Government officials targeted with texts and AI-generated deepfake voice messages impersonating senior U.S. officials

FBI warns ex-officials are targeted with deepfake texts and AI voice messages impersonating senior U.S.…

12 hours ago

Shields up US retailers. Scattered Spider threat actors can target them

Google warns that the cybercrime group Scattered Spider behind UK retailer attacks is now targeting…

15 hours ago

U.S. CISA adds Google Chromium, DrayTek routers, and SAP NetWeaver flaws to its Known Exploited Vulnerabilities catalog<gwmw style="display:none;"></gwmw>

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds Google Chromium, DrayTek routers, and SAP NetWeaver…

21 hours ago

Pwn2Own Berlin 2025 Day Two: researcher earned 150K hacking VMware ESXi

On day two of Pwn2Own Berlin 2025, participants earned $435,000 for demonstrating zero-day in SharePoint,…

1 day ago

New botnet HTTPBot targets gaming and tech industries with surgical attacks

New botnet HTTPBot is targeting China's gaming, tech, and education sectors, cybersecurity researchers warn. NSFOCUS …

1 day ago

Meta plans to train AI on EU user data from May 27 without consent

Meta plans to train AI on EU user data from May 27 without consent; privacy…

2 days ago