Lucene search
K

Discuz! 6.x/7.x $_DCACHE数组变量覆盖漏洞 Check

🗓️ 19 Nov 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 22 Views

Discuz! 6.x/7.x $_DCACHE Array Override Vulnerability Chec

Code

                                                #!/bin/bash

# Discuz! 6.x/7.x SODB-2008-13 Check
# By heihei@安全小站群
# 文件中google_page_count参数是 google搜索结果的页数,大于0就可以,太大了,google会认为是自动机#而停止处理! 开启WAP注册的结果URL列表保存在当前目录下urllist  
# 修正 cnb|rd@SEBUG
# 需要自己修改countPage,因为google_page_count多了google就以为是病毒呢
#
countPage=10
flag=0
while [ "$flag" -lt 10 ]; do
wget --no-cookies --user-agent="Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)" "http://www.google.cn/search?hl=zh-CN&newwindow=1&q=inurl:bbs/wap/index.php+Powered+by+Discuz!&start=$countPage&sa=N" -O /tmp/t_url -T 7 -t 4
for url in $(sed 's_<p><a[^>]*href="[^"]\+\/index\.php\?_\n&\n_g' /tmp/t_url | grep "<p><a href=" | awk -F"\"" '{print $2}')
do
  wget --no-cookies --post-data='action=register' -O /tmp/check -T 7 -t 4 "$url"
  if [ "$(grep "username" /tmp/check | wc -l)" != "0" ]; then
   echo "OK! $url "
   echo "OK : $url" >> urllist
  else
   echo "NO! $url " 
  fi
done
countPage=$(($countPage+10))
flag=$(($flag+1))
done
rm -r /tmp/t_url /tmp/check
echo "in urllist"

exit 0 

                              

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

19 Nov 2008 00:00Current
7.1High risk
Vulners AI Score7.1
22