Skip to content

fix: the external configuration loader fetches v2ray... in external.go#3366

Open
orbisai0security wants to merge 1 commit into
v2ray:masterfrom
orbisai0security:fix-enforce-https-config-loader
Open

fix: the external configuration loader fetches v2ray... in external.go#3366
orbisai0security wants to merge 1 commit into
v2ray:masterfrom
orbisai0security:fix-enforce-https-config-loader

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix critical severity security issue in main/confloader/external/external.go.

Vulnerability

Field Value
ID V-001
Severity CRITICAL
Scanner multi_agent_ai
Rule V-001
File main/confloader/external/external.go:40

Description: The external configuration loader fetches v2ray's routing and proxy configuration over HTTP using a plain http.Request with no cryptographic integrity verification of the response. The downloaded configuration is applied directly without checking a cryptographic signature, comparing a hash against a known-good value, or enforcing HTTPS with certificate validation. Any attacker who can intercept the HTTP connection (via ARP spoofing, DNS poisoning, BGP hijacking, or a compromised Wi-Fi network) or who compromises the remote configuration server can serve a malicious configuration that immediately takes effect.

Changes

  • main/confloader/external/external.go

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant