Property
Languagepython
Severitylow
CWECWE-319: Cleartext Transmission of Sensitive Information
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

The code is using urllib’s URLopener to open FTP URLs, which transmits data unencrypted over the network. This exposes any transmitted credentials or sensitive information to interception.

Impact#

Attackers on the network could easily capture usernames, passwords, or files sent via FTP, leading to data leaks or unauthorized access. Using insecure FTP can compromise sensitive data and put user accounts or systems at risk.