The webapp-config utility insecurely creates temporary files in a world writable directory, potentially allowing the execution of arbitrary commands.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-admin/webapp-config | * | < 1.11 | >= 1.11 |
webapp-config is a Gentoo Linux utility to help manage the installation of web-based applications.
Eric Romang discovered webapp-config uses a predictable temporary filename while processing certain options, resulting in a race condition.
Successful exploitation of the race condition would allow an attacker to disrupt the operation of webapp-config, or execute arbitrary shell commands with the privileges of the user running webapp-config. A local attacker could use a symlink attack to create or overwrite files with the permissions of the user running webapp-config.
There is no known workaround at this time.
All webapp-config users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-admin/webapp-config-1.11"