exploit the possibilities
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:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close