Jira Basic Auth
ID |
jira_basic_auth |
Severity |
high |
Vendor |
Atlassian |
Family |
Password |
Description
Jira is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management.
Security
Any hardcoded Jira Basic Authentication Credential is a potential secret reported by this detector.
Accidentally checking-in the key to source control repositories could compromise your Jira account.
Examples
def main(): jiraUserName = 'badUser' jiraPassword = 'p@ssworD' jiraURL = 'https://jira.extendhealth.com'
Mitigation / Fix
-
Remove the
credentials
from the source code or committed configuration file. -
Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). Revoking the secret can be done by changing your password.
-
If under a git repository, you may remove unwanted files from the repository history using tools like
git filter-repo
orBFG Repo-Cleaner
. You may follow the procedure listed here for GitHub.
You should consider any sensitive data in commits with secrets as compromised. Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories. |