crossdomain.xml Detected
- PCI 3.2-6.5.1
- CWE 200
- CAPEC 152
- OWASP 2017-A6
- WASC 33
- CWE 425
- WASC 34
Exposed or misconfigured crossdomain.xml files occur when Adobe Flash or similar cross-domain policies are overly permissive or publicly accessible. These files define which external domains are allowed to interact with resources on a server. Misconfigurations can allow unauthorized domains to access sensitive data, perform actions on behalf of users, or exploit application vulnerabilities. Attackers can abuse this to bypass same-origin policies, steal information, or launch cross-domain attacks.
Common patterns leading to crossdomain.xml vulnerabilities:
- Setting
allow-access-from domain="*"incrossdomain.xml, granting access to all domains. - Using overly broad permissions in combination with sensitive resources or APIs.
- Placing
crossdomain.xmlin public web root without restriction. - Legacy Flash applications or other clients relying on permissive cross-domain policies.
Impacts:
- Cross-Domain Data Access: Unauthorized domains can read sensitive data from the application.
- Session Hijacking: Attackers may exploit cross-domain requests to access user sessions.
- Information Disclosure: Confidential resources can be accessed by malicious actors.
- Facilitates Further Attacks: Knowledge of cross-domain policies can aid in XSS, CSRF, or API abuse.
Detection indicators:
- Publicly accessible
crossdomain.xmlfile at the root of the domain. - Presence of wildcard
*in domain permissions. - Security scans flagging overly permissive cross-domain policies.
Remediation
Mitigation focuses on restricting access and configuring policies securely:
Restrict Domain Access
Only allow trusted domains incrossdomain.xmlusingallow-access-from domain="trusted.com".Limit Resource Access
Avoid exposing sensitive files or APIs to cross-domain requests.Remove Unused Policies
If Flash or similar clients are no longer used, removecrossdomain.xmlentirely.Use HTTPS
Ensure resources are accessed over secure channels to prevent interception.Monitor and Audit Cross-Domain Requests
Review requests originating from other domains to detect potential abuse.Security Testing
Include checks for permissivecrossdomain.xmlpolicies in penetration tests.Educate Developers
Train teams to understand cross-domain risks and enforce least privilege policies.
References
Search Vulnerability
You may also see
- Readable .htaccess file
- apc.php page
- Webalizer script
- phpinfo page
- Apache perl-status Enabled
- Apache server-info Enabled
- Apache server-status Enabled
- JetBrains .idea project directory
- AWStats script
- elmah.axd Detected
- Core dump checker PHP script
- trace.axd Detected
- .DS_Store file
- Macromedia Dreamweaver database scripts
- Help file
- robots.txt Detected
- Sitemap Detected
- crossdomain.xml Detected
- Silverlight Client Access Policy
- Laravel log file
- Code Repository
- Configuration File
- Administration page
- Predictable Resource Location
- Code Repository
- Configuration File
- Administration page