what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

007.txt

007.txt
Posted Feb 25, 2000
Authored by Suid | Site suid.kg

SUID Advisory #7 - Corel xconf utils local root (among others) vulnerability - Local users can take advantage of lack of input validation and the lack of privilege dropping to gain root access, read any file, or perform a denial of service attack on Corel Linux systems.

tags | denial of service, local, root
systems | linux
SHA-256 | e0779a0f39462f1e76553c9a16bd665c4bd32dbc04921ce7b2363ed40212fb1b

007.txt

Change Mirror Download
suid@suid.kg - Corel xconf utils local root (among others) vulnerability.

Advisory Author: suid@suid.kg
Software: Corel Linux 1.0 xconf utilities
URL: http://linux.corel.com
Version: Version 1.0
Platforms: Corel Linux only.

Summary:

Local users can take advantage of lack of input validation and
the lack of privilege dropping to gain root access, or perform
a denial of service attack on Corel Linux systems.

Vulnerabilities:

There are multiple vulnerabilities. I know I have missed some
here. For example, I saw some /tmp files being used with the
return value of time(NULL) as an attempt at selecting a unique
filename. I haven't written these up here however.

(1) Appending garbage XF86Config data to any file on the system

/sbin/buildxconf does no input validation and is setuid root.
Invoking it with the -f argument, a user can specify a filename
to output to. Example /etc/shadow.

(2) Replacing the first line of any existing file with garbage.

As above, no input validation. When invoked with the -x
command buildxconf replaces the first line of the specified
file with the path/filename of an X server. An effective
denial of service against /etc/passwd root account.

(3) Create root owned world writable files anywhere on the file system.

Again, buildxconf does no input validation or directory
permission checks. specifying -x or -f on a non existent
filename creates that file mode 0666. Set your umask to 0.

(4) Executing arbitrary commands with euid root.

A touch different. /sbin/setxconf allows users to test X configs
with the -T switch. This process eventually invokes xinit with
euid root. A quick look at the xinit man page will tell you
that xinit looks at ~/.xserverrc and will execute things in there
while starting.

In the interests of keeping this post short I have left the rest of this
advisory off. If your interested in exploit/workaround information visit:
http://www.suid.kg/advisories/007.txt

Regards,
suid@suid.kg


Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close