T09 · Insecure Skill Coding Practices
- Location
references/diagnosis.md:68- Finding
Contradictory Internet Firewall Outbound Source Guidance
- Content
View full analysis
Vulnerability Details
File Locations:
SKILL.md:128-132references/configuration_guide.md:75-96references/diagnosis.md:68
Vulnerability Type: Inconsistent security-control configuration guidance
Risk Level: MediumVulnerable Code Snippets
SKILL.md:128-132:markdown **Protected asset identification**: - Inbound (`in`) → Protected asset = **Destination** - Outbound (`out`) → Protected asset = **Source** (public IP, not internal CIDR)references/configuration_guide.md:75-96:markdown | Direction | Source Field | Destination Field | Example Use Case | |-----------|--------------|-------------------|------------------| | **Inbound** (external→internal) | External IP or 0.0.0.0/0 | Protected asset's public IP/EIP | Allow SSH from specific IP to server | | **Outbound** (internal→external) | **Protected asset's public IP** | **Target domain/IP or 0.0.0.0/0** | Allow server to access specific external API | **Common Outbound Configuration Examples**: ✅ **Example 1: Allow specific ECS public IP to access only huawei.com** - Direction: Outbound - Source: 114.55.95.82/32 (ECS public IP) - Destination: www.huawei.com (domain) - DestinationType: domain - Port: 80/443 - Action: Allow ✅ **Example 2: Deny all other outbound traffic (fallback rule)** - Direction: Outbound - Source: 114.55.95.82/32 (same ECS public IP) - Destination: 0.0.0.0/0 - DestinationType: net - Port: 0/0 - Proto: ANY - Action: Denyreferences/diagnosis.md:68:markdown | **Outbound Source/Destination misconfigured** | **Source=public IP in outbound rule** | **Source should be internal CIDR, Destination should be public IP** |Technical Analysis
The primary workflow and configuration guide state that an Internet Firewall outbound ACL must use the protected asset's public IP as its source. The diagnosis framework instead identifies a public-IP source as a mis ...[truncated 1948 chars]
- Remediation
View remediation
Remediation Suggestions
- Verify the authoritative Alibaba Cloud Internet Firewall packet-address semantics and establish one canonical outbound source/destination model.
- Correct
references/diagnosis.md:68or the conflicting primary guidance so all files provide identical instructions. - Centralize protected-asset addressing rules in one reference and link to it instead of duplicating the rule.
- Add automated documentation consistency tests that compare inbound and outbound addressing statements across
SKILL.md,configuration_guide.md, anddiagnosis.md. - Require diagnosis conclusions to cite the actual CLI source, destination, direction, and protected-asset values before recommending a manual ACL change.
