contrib.dlint.dlint-equivalent.insecure-simplexmlrpcserver-use

Author
1,891
Download Count*
The Python 'xmlrpc' module used with 'allow_dotted_names' is not secure against maliciously constructed input
Run Locally
Run in CI
Defintion
rules:
- id: insecure-simplexmlrpcserver-use
message: The Python 'xmlrpc' module used with 'allow_dotted_names' is not secure
against maliciously constructed input
languages:
- python
severity: WARNING
metadata:
source_rule_url: https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO124.md
category: security
technology:
- python
references:
- https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO124.md
owasp:
- A06:2017 - Security Misconfiguration
- A05:2021 - Security Misconfiguration
cwe:
- "CWE-497: Exposure of Sensitive System Information to an Unauthorized
Control Sphere"
license: Commons Clause License Condition v1.0[LGPL-2.1-only]
pattern-either:
- pattern: xmlrpc.server.register_instance(..., allow_dotted_names=True, ...)
- pattern: SimpleXMLRPCServer.register_instance(..., allow_dotted_names=True, ...)
Short Link: https://sg.run/oxp1