Rapid7 Vulnerability & Exploit Database

Carlo Gavazzi Energy Meters - Login Brute Force, Extract Info and Dump Plant Database

Back to Search

Carlo Gavazzi Energy Meters - Login Brute Force, Extract Info and Dump Plant Database



This module scans for Carlo Gavazzi Energy Meters login portals, performs a login brute force attack, enumerates device firmware version, and attempt to extract the SMTP configuration. A valid, admin privileged user is required to extract the SMTP password. In some older firmware versions, the SMTP config can be retrieved without any authentication. The module also exploits an access control vulnerability which allows an unauthenticated user to remotely dump the database file EWplant.db. This db file contains information such as power/energy utilization data, tariffs, and revenue statistics. Vulnerable firmware versions include - VMU-C EM prior to firmware Version A11_U05 and VMU-C PV prior to firmware Version A17.


  • Karn Ganeshen <KarnGaneshen@gmail.com>


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