DomCyber BalkanMicrosoft Uncovers Flaws in ncurses Library Affecting Linux and macOS Systems

Microsoft Uncovers Flaws in ncurses Library Affecting Linux and macOS Systems

Objavljeno na

spot_img


Linux and macOS Systems

A set of memory corruption flaws have been discovered in the ncurses (short for new curses) programming library that could be exploited by threat actors to run malicious code on vulnerable Linux and macOS systems.

“Using environment variable poisoning, attackers could chain these vulnerabilities to elevate privileges and run code in the targeted program’s context or perform other malicious actions,” Microsoft Threat Intelligence researchers Jonathan Bar Or, Emanuele Cozzi, and Michael Pearse said in a technical report published today.

The vulnerabilities, collectively tracked as CVE-2023-29491 (CVSS score of 7.8), have been addressed as of April 2023. Microsoft said it also worked with Apple on remediating the macOS-specific issues related to these flaws.

Environment variables are user-defined values that can be used by multiple programs on a system and can affect the manner in which they behave on the system. Manipulating the variables can cause applications to perform otherwise unauthorized operations.

Microsoft’s code auditing and fuzzing found that the ncurses library searches for several environment variables, including TERMINFO, which could be poisoned and combined with the identified flaws to achieve privilege escalation. Terminfo is a database that enables programs to use display terminals in a device-independent manner.

The flaws encompass a stack information leak, a parameterized string type confusion, an off-by-one error, a heap out-of-bounds during terminfo database file parsing, and a denial-of-service with canceled strings.

“The discovered vulnerabilities could have been exploited by attackers to elevate privileges and run code within a targeted program’s context,” the researchers said. “Nonetheless, gaining control of a program through exploiting memory corruption vulnerabilities requires a multi-stage attack.”

“The vulnerabilities may have needed to be chained together for an attacker to elevate privileges, such as exploiting the stack information leak to gain arbitrary read primitives along with exploiting the heap overflow to obtain a write primitive.”

-REFERENCA: https://thehackernews.com/2023/09/microsoft-uncovers-flaws-in-ncurses.html

-K.Z



Link na izvor

Najnoviji članci

The Google Meet error you last saw may indicate a hacking attempt on your system

In a recent report by cybersecurity company Proofpoint, a new tactic known as "Clipboard...

A Hacker’s Guide to Traveling in Europe

Hackathons are popular events in the tech world, drawing in innovative minds from across...

Vulnerabilities, AI Compete for Software Developers Attention

Software developers have quickly adopted AI assistants for programming, with the majority now utilizing...

3 key considerations when evaluating GenAI solutions for cybersecurity

Steven Sim, a seasoned cybersecurity professional with over 25 years of experience, has made...

Još ovako

The Google Meet error you last saw may indicate a hacking attempt on your system

In a recent report by cybersecurity company Proofpoint, a new tactic known as "Clipboard...

A Hacker’s Guide to Traveling in Europe

Hackathons are popular events in the tech world, drawing in innovative minds from across...

Vulnerabilities, AI Compete for Software Developers Attention

Software developers have quickly adopted AI assistants for programming, with the majority now utilizing...
hrCroatian