OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA14810] remstats Insecure Temporary File Creation and Arbitrary Command Execution

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Tue Apr 05 2005 - 09:52:05 CDT


----------------------------------------------------------------------

Want a new IT Security job?

Vacant positions at Secunia:
http://secunia.com/secunia_vacancies/

----------------------------------------------------------------------

TITLE:
remstats Insecure Temporary File Creation and Arbitrary Command
Execution

SECUNIA ADVISORY ID:
SA14810

VERIFY ADVISORY:
http://secunia.com/advisories/14810/

CRITICAL:
Moderately critical

IMPACT:
Privilege escalation, System access

WHERE:
From local network

SOFTWARE:
remstats 1.x
http://secunia.com/product/4883/

DESCRIPTION:
Jens Steube has reported two vulnerabilities in remstats, which can
be exploited by malicious, local users to perform certain actions on
a vulnerable system with escalated privileges, and by malicious
people to potentially compromise a vulnerable system.

1) Temporary files are created insecurely when processing uptime
data. This can be exploited via symlink attacks to create or
overwrite arbitrary files with the privileges of the user running
remstats.

2) An input validation error in the remoteping service can be
exploited to execute arbitrary commands.

SOLUTION:
Filter access to the remoteping service, and grant only trusted users
access to affected systems.

PROVIDED AND/OR DISCOVERED BY:
Jens Steube

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------