Unix and Linux admin console exposed by bug

A bug in Usermin, a widely-used administration console for Unix and Linux, could allow an attacker to run malicious code via a specially-crafted email, according to security researchers.

Usermin allows users of Unix and Linux to administer their own accounts on a network via a Web-based interface, including reading email. The tool isn't included in Unix or Linux distributions by default, but is often used with Webmin, one of the most popular system administration tools, which ships with Linux distributions such as Suse, Mandrake and Gentoo. A separate, less serious bug affects both Webmin and Usermin, researchers said.

A flaw in Usermin's webmail feature allows an attacker to inject malicious shell code in a specially-crafted email, according to an advisory from Gentoo. This bug could lead to the remote execution of malicious code with the privileges of the user running Webmin or Usermin. Webmin contains all the functionality of Usermin, including the vulnerable webmail feature, experts said.

"Certain parts of the emails aren't properly validated before Usermin is used in an insecure call to local resources," said Thomas Kristensen, chief technical officer of Danish security firm Secunia. "This can be exploited by sending a malicious mail to a user using Usermin." In its advisory Secunia gave the vulnerability a "highly critical" rating, its second most severe category.

The second bug could only be exploited by a local user who knew Webmin or Usermin was going to be installed. The applications write to the location /tmp/.webmin without first checking that such a location already exists; a malicious user could create a link at /tmp/.webmin pointing to important files (for example /etc/passwd), causing those files to be overwritten when the application was installed.

Users are advised to upgrade to the latest versions of Usermin and Webmin.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Matthew Broersma

Techworld.com
Show Comments

Cool Tech

Breitling Superocean Heritage Chronographe 44

Learn more >

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?