Sunday, December 3, 2023

Hackers Can Abuse Plugins for Popular Unix Text Editors to Escalate Privileges

Advanced Unix Text Editors offers extensibility by allowing users to install third-party plugins for ease of use and to enhance the Text Editors functionalities.

Server administrators often run text editors with elevated privileges “sudo gedit” to edit root-owned configuration files. If the text editor contains vulnerable third-party plugin it enlarges attack surface.

A vulnerable third-party text editor plugin could be abused by attackers to escalate the privileges of your system/server.

Also Read Top 5 Best Text Editors For Linux

According to recent safebreach research, “they found the inadequate separation of regular and elevated modes. Folder permissions integrity is not maintained and that opens the door for an attacker with regular user permissions to get the elevated execution of arbitrary code and to gain privilege escalation on the machine“.

Researchers tested the attacks the well known highly-ranked text editors Sublime, Vim, Emacs, Gedit, pico/nano. They have published a research paper with examples.

Here is the scenario “Imagine that an attacker can run the arbitrary code as a sudoer but not elevated, all he needs is to write the malicious plugin in user folder that uses the text editor and wait for the execution of plugin in elevated status”.

The vulnerability has been notified by researchers to vendors and it still remain’s unpatched. Researchers suggested monitoring modifications to the key files and folders presented by adding OSSEC rules.

Also Read Most Important Computer Forensics Tools for Hackers and Security Professionals

Below is the list of mitigations suggested – Unix Text Editors

  • Implement OSEC monitoring rules.
  • Deny write permissions for non-elevated users.
  • Change folders and file permission models to ensure separation between regular and elevated modes.
  • Prevent loading of 3rd party plugins when an editor is elevated.
  • Provide a manual interface to approve the elevated loading of plugins.

Latest articles

Active Attacks Targeting Google Chrome & ownCloud Flaws: CISA Warns

The CISA announced two known exploited vulnerabilities active attacks targeting Google Chrome & own...

Cactus Ransomware Exploiting Qlik Sense code execution Vulnerability

A new Cactus Ransomware was exploited in the code execution vulnerability to Qlik Sense...

Hackers Bypass Antivirus with ScrubCrypt Tool to Install RedLine Malware

The ScrubCrypt obfuscation tool has been discovered to be utilized in attacks to disseminate the RedLine Stealer...

Hotel’s Hacked Logins Let Attacker Steal Guest Credit Cards

According to a recent report by Secureworks, a well-planned and advanced phishing attack was...

Critical Zoom Vulnerability Let Attackers Take Over Meetings

Zoom, the most widely used video conferencing platform has been discovered with a critical...

Hackers Using Weaponized Invoice to Deliver LUMMA Malware

Hackers use weaponized invoices to exploit trust in financial transactions, embedding malware or malicious...

US-Seized Crypto Currency Mixer Used by North Korean Lazarus Hackers

The U.S. Treasury Department sanctioned the famous cryptocurrency mixer Sinbad after it was claimed...

API Attack Simulation Webinar

Live API Attack Simulation

In the upcoming webinar, Karthik Krishnamoorthy, CTO and Vivek Gopalan, VP of Products at Indusface demonstrate how APIs could be hacked.The session will cover:an exploit of OWASP API Top 10 vulnerability, a brute force account take-over (ATO) attack on API, a DDoS attack on an API, how a WAAP could bolster security over an API gateway

Related Articles