T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/check_cts_anomaly.py:490- Finding
Undisclosed Creation of Long-Lived Temporary Credentials and Billing Access
- Content
View full analysis
0): print("警告:您的账号已欠费,无法正常购买和使用按需计费云服务,请您尽快充值。\n") ``` The documented permission requirement only identifies CTS trace access: ```markdown 需要以下权限策略: - `cts:trace:list` ``` ### Technical Analysis Every invocation creates a temporary Huawei Cloud access key, secret key, and security token valid for 86,400 seconds. It then uses those credentials to access the account balance API before performing the requested CTS trace analysis. Creating credentials and querying billing data are separate privileged operations that are not disclosed in the documented permission requirements. They also occur unconditionally, even when the user only requests CTS log analysis. This violates least-privilege and purpose-limitation principles. Although no credential exfiltration was i ...[truncated 1875 chars]- Remediation
View remediation
