MODULE

POWERCOM UPSMON PRO Path Traversal (CVE-2022-38120) and Credential Harvester (CVE-2022-38121)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

POWERCOM UPSMON PRO Path Traversal (CVE-2022-38120) and Credential Harvester (CVE-2022-38121)

Disclosed
11/10/2022
Created
05/15/2025

Description

This module exploits a path traversal vulnerability in UPSMON PRO <= v2.61 to retrieve arbitrary files from the system. By default, the configuration file will be retrieved, which contains the credentials (CVE-2022-38121) for the web service, mail server, application, and SMS service. However, any arbitrary file can be specified.

Author(s)

  • Michael Heinzl

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/upsmon_traversal
msf auxiliary(upsmon_traversal) > show actions
    ...actions...
msf auxiliary(upsmon_traversal) > set ACTION < action-name >
msf auxiliary(upsmon_traversal) > show options
    ...show and set options...
msf auxiliary(upsmon_traversal) > 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

;