Virtual Event Today: Supply Chain Security Summit - Join Event In-Progress

Security Experts:

Connect with us

Hi, what are you looking for?



API Vulnerability Exposed Accounts of Delmarva Power Customers

A malicious attacker could have hijacked the online accounts of Delmarva Power customers by leveraging a vulnerability in the company’s API, a researcher reported on Sunday.

A malicious attacker could have hijacked the online accounts of Delmarva Power customers by leveraging a vulnerability in the company’s API, a researcher reported on Sunday.

Delmarva Power is a Pepco Holdings subsidiary that provides power services in Delaware and Maryland. According to its website, the company has 503,000 electric and 122,000 gas customers.

After analyzing the company’s Android application, which has been downloaded between 10,000 and 50,000 times from Google Play, software developer and security researcher Randy Westergren discovered that the API is plagued by Insecure Direct Object Reference (IDOR) vulnerabilities that can be exploited to take over customer accounts.

By performing a man-in-the-middle (MitM) attack against his own account, the expert discovered that the login request contained a user ID. An attacker could have accessed any account simply by changing the value of this user ID parameter, despite the fact that the request also contained a session cookie and an authentication key.

The researcher found that the response from the server contained a lot of personal information, including the user’s address, payment details, and security questions/answers.

“Using this information, an attacker could have easily reset any user’s password and gained complete control over their account,” Westergren explained in a blog post.

The expert also discovered that he could access any customer’s bill in PDF format simply by changing the value of the “accountNumber” parameter. Payment information could not be obtained through this method, but an attacker could have viewed partial payment data by resetting a customer’s password and accessing their account.

“It seems payment accounts on the app are independent of the Delmarva Power web application. Though I had a feeling this request was also vulnerable, I didn’t confirm it,” the researcher said.

The vulnerability was first reported to Delmarva Power in November. However, it took Westergren until January 8 to get in touch with the right person at the company and another two weeks until a patch was rolled out. The company sent the researcher a gift card for his effort.

“Our customer’s online safety is always a priority. We take all security issues very seriously. Once we were informed of the issue our company took immediate action to resolve the situation and protect our customers,” Delmarva Power said in an emailed statement.

This isn’t the first time Westergren finds serious vulnerabilities in the mobile apps of high-profile organizations. In January, he reported finding a security hole that exposed the email accounts of Verizon customers, and a flaw that could have been exploited to gain access to the details of Marriott customers.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.


GoAnywhere MFT users warned about a zero-day remote code injection exploit that can be targeted directly from the internet