Rapid7 Vulnerability & Exploit Database

Prometheus API Information Gather

Back to Search

Prometheus API Information Gather

Disclosed
07/01/2016
Created
09/08/2023

Description

This module utilizes Prometheus' API calls to gather information about the server's configuration, and targets. Fields which may contain credentials, or credential file names are then pulled out and printed. Targets may have a wealth of information, this module will print the following values when found: __meta_gce_metadata_ssh_keys, __meta_gce_metadata_startup_script, __meta_gce_metadata_kube_env, kubernetes_sd_configs, _meta_kubernetes_pod_annotation_kubectl_kubernetes_io_last_applied_configuration, __meta_ec2_tag_CreatedBy, __meta_ec2_tag_OwnedBy Shodan search: "http.favicon.hash:-1399433489"

Author(s)

  • h00die

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/prometheus_api_gather
msf auxiliary(prometheus_api_gather) > show actions
    ...actions...
msf auxiliary(prometheus_api_gather) > set ACTION < action-name >
msf auxiliary(prometheus_api_gather) > show options
    ...show and set options...
msf auxiliary(prometheus_api_gather) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;