Dart

Dart : Undocumented feature: special account

Classification

OWASP ASVS
PCI DSS 4.0
CWE/SANS Top 25 2011
CWE/SANS Top 25 2021

Overview

The application compares the value of the variable which stores the authentication data with a hardcoded value. This special account may be a part of a backdoor.

The application developer could have used a special account (possibly with elevated privileges) for debugging and he/she left the corresponding code sections in the final version, thus, retained for him/herself the access to the application functionality. An attacker can decompile the application, extract the hardcoded strings which specify the special account, and get access to the application.

Constant parameters (logins, passwords, keys) must not be stored in the source code of the application.

MEDIUM

DerScanner Severity Score

Check your Dart code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.