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

Banner.rotating

Banner.rotating
Posted May 17, 2000
Authored by Zillion | Site safemode.org

A file called adpassword.txt is world readable as it is assigned the wrong permissions. This will allow a malicious attacker to read the contents of the file, to crack the DES encrypted password it contains (using a common-or-garden password cracker), and to edit banner entries,to add or to remove banners.

tags | exploit
SHA-256 | 6c3ff8a442e1d2635cfd0603a063047b2989029691b11b442d5c9cce20f68a72

Banner.rotating

Change Mirror Download
                                                -- Banner rotating 01 --

--> Description:

"Banner rotating 01" is a cgi script distributed for free on several
site builder sites, including Hot Area. The script is available on
http://www.hotarea.net/web/scripts/banner01/ The cgi script offers
numerous functions for those wishing to manage rotating banners on their
sites, including web based administration, unlimited advertisers, and
statistics that keep track of exposures, click-throughs and the
view-to-click ratio. The script requires Server Side Includes (SSI)
support from the webserver.

--> Affected sites:

The Hot Area site mentions that the script has been downloaded 9345
times (as of 05/16/2000). A simple WebFerret search showed that scores
of sites are affected with an exposed in-the-clear password file.

--> The problem:

A file called adpassword.txt is world readable as it is assigned the
wrong permissions. This will allow a malicious attacker to read the
contents of the file, to crack the DES encrypted password it contains
(using a common-or-garden password cracker), and to edit banner
entries,to add or to remove banners.

--> Extracts of the manual with commentary:

Note: The extracts below are taken from the manual, which is stored as
an index.html in the same as the adpassword file and the .cgi scripts

--cut--

Below are the files stored in the ads directory

index.html - the manual
ads.setup - the only file you need to change;
ads.cgi - script to display correct advertiser;
gotoad.cgi - script to direct links;
admin.cgi - script to administrate your advertisers;
adcount.txt - a file to keep track of which banner to display;
adpassword.txt - password file for administration script;
01-03.jpg - demo images
Advertiser.txt - sample data files

Below are the permissions they want you to give your files

ads.setup - 755
ads.cgi - 755
gotoad.cgi - 755
admin.cgi - 755
adcount.txt - 777
adpassword.txt - 777

Below is an explanation on how to use the admin.cgi tool

Your password is currently set at admin. I suggest the first thing you
do is to change it.
Name - the name of the advertiser - DO NOT USE SPACES.
Exposures - the number of exposures purchased.
URL - the url that the banner should link to.
Image URL - the url of the banner for the advertiser.
Banner Text - the text that you want to appear below the banner.
Font Size - the size of the text below the banner.

Note: admin, when DES encrypted is "aaLR8vE.jjhss." 8 of the 10 web
sites I reviewed did not change this password.

Possible Countermeasures
Delete the file. On Apache web servers, htaccess can be used to deny
access to the file.

--> This file was written by:

Name: zillion
Email: zillion@safemode.org
Url: http://www.safemode.org

Special thanks to Peter Thomas!
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