exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

zataz-gwcc-09052005.txt

zataz-gwcc-09052005.txt
Posted Sep 20, 2005
Authored by ZATAZ Audits | Site zataz.net

gwcc versions less than or equal to 0.9.6-r2 create temporary files insecurely.

tags | advisory
SHA-256 | e09b15364c1149d7ffffd5717f233b858ef04539f8216e0cdf3a2d0daeff5fe9

zataz-gwcc-09052005.txt

Change Mirror Download
#########################################################

gwcc insecure temporary file creation

Vendor: https://gwcc.sourceforge.net/
Advisory: https://www.zataz.net/adviso/gwcc-09052005.txt
Vendor informed: yes
Exploit available: yes
Impact : low
Exploitation : low

#########################################################

The vulnerability is caused due to temporary file being created insecurely.
This can be exploited via symlink attacks to create and overwrite
arbitrary files
with the privileges of the user running the affected script.

Secunia report that this bug was discovered by D1g1t4lLeech the 2005-09-16.

ZATAZ Audit has discovered this bug the 2005-09-02

So I think that D1g1t4lLeech is a true leecher ;)

##########
Versions:
##########

gwcc <= 0.9.6-r2

##########
Solution:
##########

To prevent symlink attack use kernel patch such as grsecurity
Gentoo Patch : https://bugs.gentoo.org/attachment.cgi?id=67477

#########
Timeline:
#########

Discovered : 2005-09-02
Vendor notified : 2005-09-05
Vendor response : no reponse
Vendor fix : no patch
Vendor Sec report (vendor-sec@lst.de) : 2005-09-13
Disclosure : 2005-09-16

#####################
Technical details :
#####################

Vulnerable code :
-----------------

Take a look at : src/callbacks.c

1702 // Pipe print command and voila!, the doc is printed.
1703 strcat(print_command, " /tmp/gwcc_out.txt");

And also into : src/utils.c

94 else if (strcmp(operation, "temp") == 0) {
95 strcat(file_name, "/tmp/gwcc_out.txt");

#########
Related :
#########

Bug report : https://bugs.gentoo.org/show_bug.cgi?id=104566
CVE : NONE

#####################
Credits :
#####################

Eric Romang (eromang@zataz.net - ZATAZ Audit) - Gentoo Security Scout
Thxs to Gentoo Security Team.

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    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