+44 (0)203 88 020 88

Menu

Search

Cyber Security News & Articles

 

Cyber Security
News & Articles

Trusted Cyber Security Experts
25+ Years Industry Experience
Ethical, Professional & Pragmatic

SUDO bug allows privilege escalation

A bug has been found in the SUDO command which can allow an attacker to gain root privilege on Linux and Unix systems, even for users that do not have permission to run SUDO.

SUDO is a security tool used daily in most organisations.  SUDO allows users to execute a specific command with escalated privilege without needing to know the password to login to the more powerful account.

The bug affects systems that have the pwfeedback option active (it is turned off by default in all but a few distributions of Linux).  Exploitation of the bug requires only that the pwfeedback option is enabled, the attacker’s login does not need permission to use SUDO in the sudoers file.

You can check if pwfeedback is enabled on your system by issuing the command:

sudo -l

If pwfeedback is listed in the Matching-Entries output then it is enabled and the system is vulnerable.

The default password prompt on Linux and Unix systems does not provide any feedback when a key is pressed, which can make it harder for users to enter their password correctly -especially if they do not use SUDO very often.  The pwfeedback option prints a single * for each key press while entering a password.

Due to a bug in the way pwfeedback handles errors when it attempts to write the * to the display, a stack-based buffer overflow can be triggered which can then be exploited.  Details of how the bug can be exploited are listed on the SUDO website.

The bug affects all versions of SUDO from 1.7.1 to 1.8.30, and is tracked as CVE-2019-18634. The fix to this vulnerability is contained in SUDO 1.8.31 released at the end of January 2020.

 

 

Subscribe to our monthly newsletter today

If you’d like to stay up-to-date with the latest cyber security news and articles from our technical team, you can sign up to our monthly newsletter. 

We hate spam as much as you do, so we promise not to bombard you with emails. We’ll send you a single, curated email each month that contains all of our cyber security news and articles for that month.

Why Choose SecureTeam?

Customer Testimonials

“We were very impressed with the service, I will say, the vulnerability found was one our previous organisation had not picked up, which does make you wonder if anything else was missed.”

Aim Ltd Chief Technology Officer (CTO)

"Within a very tight timescale, SecureTeam managed to deliver a highly professional service efficiently. The team helped the process with regular updates and escalation where necessary. Would highly recommend"

IoT Solutions Group Limited Chief Technology Officer (CTO) & Founder

“First class service as ever. We learn something new each year! Thank you to all your team.”

Royal Haskoning DHV Service Delivery Manager

“We’ve worked with SecureTeam for a few years to conduct our testing. The team make it easy to deal with them; they are attentive and explain detailed reports in a jargon-free way that allows the less technical people to understand. I wouldn’t work with anyone else for our cyber security.”

Capital Asset Management Head of Operations

“SecureTeam provided Derbyshire's Education Data Hub with an approachable and professional service to ensure our schools were able to successfully certify for Cyber Essentials. The team provided a smooth end-to-end service and were always on hand to offer advice when necessary.”

Derbyshire County Council Team Manager Education Data Hub

“A very efficient, professional, and friendly delivery of our testing and the results. You delivered exactly what we asked for in the timeframe we needed it, while maintaining quality and integrity. A great job, done well.”

AMX Solutions IT Project Officer

“We were very pleased with the work and report provided. It was easy to translate the provided details into some actionable tasks on our end so that was great. We always appreciate the ongoing support.”

Innovez Ltd Support Officer

Get in touch today

If you’d like to see how SecureTeam can take your cybersecurity posture to the next level, we’d love to hear from you, learn about your requirements and then send you a free quotation for our services.

Our customers love our fast-turnaround, “no-nonsense” quotations – not to mention that we hate high-pressure sales tactics as much as you do.

We know that every organisation is unique, so our detailed scoping process ensures that we provide you with an accurate quotation for our services, which we trust you’ll find highly competitive.

Get in touch with us today and a member of our team will be in touch to provide you with a quotation. 

0

No products in the basket.

No products in the basket.