Cybersecurity news

Jessica Doner

Back to the list

Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle

The Hacker News,

A researcher showed that low-privilege database accounts can run code on servers by exploiting memory-corruption bugs in PostgreSQL, MySQL, ClickHouse, and Oracle.

Vulnerabilities and patches

Overview

A researcher named Zheng Yu demonstrated that low-privilege databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software accounts can execute code on the serverA computer or program on a network that stores data and responds to requests from client devices itself by exploiting memory-corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory bugs in the engine code. This affects PostgreSQL, MySQL, ClickHouse, and Oracle, where standard permissionsThe specific rights granted to an account or app to read, write, or run files and services allow users to trigger these flaws without reading application data. The issue matters because it allows attackers to bypass normal security controls and run commands on the underlying operating systemThe core software on a computer or phone that manages hardware, files, memory, and running apps. The background idea is that database permissions usually only control access to data tables, not the unsafe C and C++ code that processes queries. Four of these flaws have received vendor CVEsThe public tracking code assigned to a specific known security flaw in software or hardware and fixes, but the full attack chainsThe full sequence of steps an intruder takes from initial break-in to final goal have not been independently reproduced. None of these vulnerabilities have been seen in a real attack, and the research reports no sign that they have been used maliciously.

Terms in this story

Database
An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
memory-corruption
A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
SQL
The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
permissions
The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
operating system
The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
CVEs
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
attack chains
The full sequence of steps an intruder takes from initial break-in to final goal. Incident reports map out the full attack chain, such as a phishing email that drops a loader, steals domain credentials, and finally deploys ransomware across servers.
RCE
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
Exploits
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
security advisory
An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
type-confusion
A memory bug where a program treats a piece of data in memory as the wrong data type. Browser engines frequently patch type confusion bugs because misinterpreting an object's layout in memory lets an attacker read or write arbitrary memory addresses.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related