World-readable permissions in Gentoo init script for webfs

webfs Updated 02 Oct 2025

Summary

16/11/2014
N/A
Yes i
Unrated
Not published

CVE-2013-0347: The Gentoo init script for webfs uses world-readable permissions for /var/log/webfsd.log, which allows local users to have unspecified impact by reading the file. Affects webfs versions < 1.21+ds1-9. Fixed in 1.21+ds1-9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The webfs package is a web server for static content that is commonly used in the Debian ecosystem. It allows users to serve files over HTTP and is often used for simple file sharing or hosting static websites. The Gentoo init script is responsible for managing the webfs service, including starting and stopping it. However, there is a vulnerability in the init script that allows local users to read the webfs log file, which is stored in /var/log/webfsd.log.

Vulnerability Detail

The vulnerability (CVE-2013-0347) arises from the use of world-readable permissions for the webfs log file. This means that any user on the system can read the contents of the log file, potentially exposing sensitive information. Although the impact of this vulnerability is unspecified, it could potentially lead to the disclosure of sensitive data or other security issues.

How To Fix

Minimum fixed version

1.21+ds1-9

This is the first release that contains the fix.

sudo apt-get install --only-upgrade webfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

A possible workaround for this vulnerability is to manually change the permissions of the webfs log file to restrict access. However, this workaround may not be feasible in all scenarios, especially in cases where the file permissions are managed by the package manager or other automated processes.

Conclusion

In conclusion, the Gentoo init script for webfs has a vulnerability that allows local users to read the webfs log file. This vulnerability can potentially lead to the disclosure of sensitive information or other security issues. Users of the webfs package in the Debian ecosystem are advised to update to version 1.21+ds1-9 or apply the necessary permissions fix to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for webfs →

Share this vulnerability

FAQ

The impact of this vulnerability is unspecified, but it could potentially lead to the disclosure of sensitive information or other security issues.

Users of the webfs package in the Debian ecosystem, specifically those using versions 0 to 1.21+ds1-9, are affected by this vulnerability.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package manifest file (e.g., package-lock.json) and the Vulert Playground will analyze it for vulnerabilities.

Yes, a fix for this vulnerability is available in version 1.21+ds1-9 of the webfs package. Users are advised to update their package to the fixed version to mitigate the vulnerability.

A possible workaround for this vulnerability is to manually change the permissions of the webfs log file to restrict access. However, this workaround may not be feasible in all scenarios, especially in cases where the file permissions are managed by the package manager or other automated processes.

Related vulnerabilities

Recent vulnerabilities recorded for webfs.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.21+ds1-9

This is the first release that contains the fix.

sudo apt-get install --only-upgrade webfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback