T09 · Insecure Skill Coding Practices
- Location
scripts/get_jiraData.py:121- Finding
TLS Certificate Verification Can Be Disabled for Authenticated Jira Requests
- Content
View full analysis
: -k /rest/api/2/project/ | python3 -c "import sys,json;[print(t['name']) for t in json.load(sys.stdin).get('issueTypes',[])]" ``` ### Technical Analysis When `--no-verify` is supplied, `requests` no longer authenticates the Jira server's TLS certificate. The documented `curl -k` command has the same effect. Disabling warning messages further reduces the likelihood that the user will notice the connection is unauthenticated. The session sends either a bearer token or Basic Authentication credentials over this connection. TLS encryption without certificate validation does not establish the identity of the remote server, so an active network attacker can present an arbitrary certificate and impersonate Jira. Supporting private certificate a ...[truncated 1672 chars]- Remediation
View remediation
