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.

Risk

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

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    Edge-DRsplash-10-edge-articles
    7 Old IT Things Every New InfoSec Pro Should Know
    Joan Goodchild, Staff Editor,  4/20/2021
    News
    Cloud-Native Businesses Struggle With Security
    Robert Lemos, Contributing Writer,  5/6/2021
    Commentary
    Defending Against Web Scraping Attacks
    Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
    Register for Dark Reading Newsletters
    White Papers
    Video
    Cartoon
    Current Issue
    2021 Top Enterprise IT Trends
    We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
    Flash Poll
    How Enterprises are Developing Secure Applications
    How Enterprises are Developing Secure Applications
    Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    CVE-2021-31922
    PUBLISHED: 2021-05-14
    An HTTP Request Smuggling vulnerability in Pulse Secure Virtual Traffic Manager before 21.1 could allow an attacker to smuggle an HTTP request through an HTTP/2 Header. This vulnerability is resolved in 21.1, 20.3R1, 20.2R1, 20.1R2, 19.2R4, and 18.2R3.
    CVE-2021-32051
    PUBLISHED: 2021-05-14
    Hexagon G!nius Auskunftsportal before 5.0.0.0 allows SQL injection via the GiPWorkflow/Service/DownloadPublicFile id parameter.
    CVE-2021-32615
    PUBLISHED: 2021-05-13
    Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection.
    CVE-2021-33026
    PUBLISHED: 2021-05-13
    The Flask-Caching extension through 1.10.1 for Flask relies on Pickle for serialization, which may lead to remote code execution or local privilege escalation. If an attacker gains access to cache storage (e.g., filesystem, Memcached, Redis, etc.), they can construct a crafted payload, poison the ca...
    CVE-2021-31876
    PUBLISHED: 2021-05-13
    Bitcoin Core 0.12.0 through 0.21.1 does not properly implement the replacement policy specified in BIP125, which makes it easier for attackers to trigger a loss of funds, or a denial of service attack against downstream projects such as Lightning network nodes. An unconfirmed child transaction with ...