Arbitrary File Overwrite in fwbuilder

fwbuilder Updated 02 Oct 2025

Summary

05/11/2008
N/A
Yes i
Unrated
Not published

CVE-2008-4956: fwb_install in fwbuilder 2.1.19 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/ssh-agent.##### temporary file. Affects fwbuilder versions < 2.1.19-5. Fixed in 2.1.19-5. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

fwbuilder is a firewall management tool that allows users to design, configure, and manage firewalls. It provides a graphical interface to create firewall rules and generates the necessary configuration files for various firewall platforms. The vulnerability in fwbuilder version 2.1.19 allows local users to overwrite arbitrary files through a symlink attack on a temporary file created in the /tmp/ssh-agent.##### directory.

Vulnerability Detail

The vulnerability arises from the insecure handling of temporary files by the fwb_install component in fwbuilder. By exploiting a symlink attack, a local user can manipulate the temporary file created by fwb_install in the /tmp/ssh-agent.##### directory. This allows the attacker to overwrite arbitrary files on the system, potentially leading to unauthorized access, data loss, or privilege escalation.

How To Fix

Minimum fixed version

2.1.19-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fwbuilder

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

Workaround

As a workaround, users can manually create a secure temporary directory for fwbuilder and modify the fwb_install script to use this directory instead of the vulnerable /tmp/ssh-agent.##### directory. This can be achieved by editing the fwb_install script and changing the temporary directory path to a location with restricted access and proper file permissions.

Conclusion

The vulnerability in fwbuilder version 2.1.19 allows local users to overwrite arbitrary files through a symlink attack on a temporary file. It is crucial to upgrade fwbuilder to version 2.1.19-5 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for fwbuilder →

Share this vulnerability

FAQ

fwbuilder is a firewall management tool that provides a graphical interface to design, configure, and manage firewalls.

This vulnerability allows local users to overwrite arbitrary files on the system, potentially leading to unauthorized access, data loss, or privilege escalation.

To fix this vulnerability, it is recommended to upgrade fwbuilder to version 2.1.19-5 or later.

Yes, users can manually create a secure temporary directory for fwbuilder and modify the fwb_install script to use this directory instead of the vulnerable /tmp/ssh-agent.##### directory.

For more information about this vulnerability, you can refer to the official CVE-2008-4956 advisory.

Related vulnerabilities

Recent vulnerabilities recorded for fwbuilder.

How To Fix

Minimum fixed version

2.1.19-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fwbuilder

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