Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Flaw Found in Linux Statistics App

Cross-site scripting vulnerability in a popular Linux log file app could lead to remote code execution

A newly discovered flaw in a popular Linux application could allow attackers to execute remote code on Linux servers, according to vulnerability reports posted yesterday.

Advanced Web Statistics (AWStats), a log file analyzer and statistics generator that is often used to track Website traffic, contains a bug that could allow a remote attacker to inject arbitrary code onto a Linux server, according to reports on Gentoo and BugTraq.

Hendrik Weimer, a security researcher who discovered the bug, found that cross-site scripting attacks could be perpetrated via a pipe character in the "migrate" parameter of the AWStats application. The exploit works on the server only if the user has enabled automated updates of statistics via a Web front end. However, the cross-site scripting vulnerability could also allow attacks to take place via a client's browser.

"AWStats fails to properly sanitize user-supplied input in awstats.pl," Weimer says.

The vulnerability sites rated the severity of the threat as "high," and at least one said there was no patch available. However, Debian, the open source organization that offers GNU/Linux, says it is aware of the problem and has issued upgrades to both its version 6.4 ("stable") and 6.5 ("unstable") that are available now. Red Hat also reported that it has made updates to the current versions of Ubuntu Linux.

The vulnerability is not the first to appear in AWStats. In February 2005, iDefense discovered a similar configuration vulnerability in the program, but a group of students called the RedTeam discovered a workaround. An AWStats flaw also contributed to the proliferation of the "Lupper" worm in November 2005.

Linux users can avoid some of these vulnerabilities by turning off the "update statistics" feature in AWStats, observers note, but such a workaround negates one of the application's chief functions, which is collecting Web statistics.

— Tim Wilson, Site Editor, Dark Reading

Organizations mentioned in this story

  • Debian
  • Red Hat Inc. (Nasdaq: RHAT)

    Tim Wilson is Editor in Chief and co-founder of Dark Reading.com, UBM Tech's online community for information security professionals. He is responsible for managing the site, assigning and editing content, and writing breaking news stories. Wilson has been recognized as one ... View Full Bio

    Recommended Reading:

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    COVID-19: Latest Security News & Commentary
    Dark Reading Staff 5/27/2020
    10 iOS Security Tips to Lock Down Your iPhone
    Kelly Sheridan, Staff Editor, Dark Reading,  5/22/2020
    How an Industry Consortium Can Reinvent Security Solution Testing
    Henry Harrison, Co-founder & Chief Technology Officer, Garrison,  5/21/2020
    Register for Dark Reading Newsletters
    White Papers
    Cartoon Contest
    Current Issue
    How Cybersecurity Incident Response Programs Work (and Why Some Don't)
    This Tech Digest takes a look at the vital role cybersecurity incident response (IR) plays in managing cyber-risk within organizations. Download the Tech Digest today to find out how well-planned IR programs can detect intrusions, contain breaches, and help an organization restore normal operations.
    Flash Poll
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2020-05-27
    In SmartDraw 2020, the installer gives inherited write permissions to the Authenticated Users group on the SmartDraw 2020 installation folder. Additionally, when the product is installed, two scheduled tasks are created on the machine, SDMsgUpdate (Local) and SDMsgUpdate (TE). The scheduled...
    PUBLISHED: 2020-05-27
    An issue was discovered in the Linux kernel before 5.2. There is a NULL pointer dereference in tw5864_handle_frame() in drivers/media/pci/tw5864/tw5864-video.c, which may cause denial of service, aka CID-2e7682ebfc75.
    PUBLISHED: 2020-05-27
    A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the hom...
    PUBLISHED: 2020-05-27
    JerryScript 2.2.0 allows attackers to cause a denial of service (assertion failure) because a property key query for a Proxy object returns unintended data.
    PUBLISHED: 2020-05-27
    JerryScript 2.2.0 allows attackers to cause a denial of service (stack consumption) via a proxy operation.