Skip to content

JSON-LD Context similarity to XML External Entity attack #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hmottestad opened this issue Nov 1, 2023 · 1 comment
Closed

JSON-LD Context similarity to XML External Entity attack #825

hmottestad opened this issue Nov 1, 2023 · 1 comment

Comments

@hmottestad
Copy link

An XML External Entity attack is a type of attack against an application that parses XML input. This attack occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, server side request forgery, port scanning from the perspective of the machine where the parser is located, and other system impacts.

JSON-LD supports referencing a context stored online or on the local file system. This seems to allow for the same attack surface as with XML External Entity.

See: https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing

@BigBlueHat
Copy link
Member

Closing in favor of keeping conversation on w3c/json-ld-syntax#421

Thanks for your participation, @hmottestad!

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

No branches or pull requests

2 participants