{
  "id": "CVE-2024-27199",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-27199",
  "published_at": "2024-03-04T17:21:40.081Z",
  "title": "JetBrains TeamCity Relative Path Traversal Vulnerability",
  "vendor": "JetBrains",
  "product": "TeamCity",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2026-04-20",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 777
  },
  "first_poc": {
    "created_at": "2026-08-13T11:38:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 891.8,
    "repo": "chengbochuan3/CVE-CICD-Security",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In JetBrains TeamCity before 2023.11.4 path traversal allowing to perform limited admin actions  was possible",
  "cwe": "CWE-23",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [
    {
      "repo": "W01fh4cker/CVE-2024-27198-RCE",
      "url": "https://github.com/W01fh4cker/CVE-2024-27198-RCE",
      "created_at": "2024-03-06T03:15:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 153,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-03-18T11:45:48Z"
    },
    {
      "repo": "chebuya/CVE-2024-30851-jasmin-ransomware-path-traversal-poc",
      "url": "https://github.com/chebuya/CVE-2024-30851-jasmin-ransomware-path-traversal-poc",
      "created_at": "2024-04-04T22:59:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 21,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-03T15:36:16Z"
    },
    {
      "repo": "Stuub/RCity-CVE-2024-27198",
      "url": "https://github.com/Stuub/RCity-CVE-2024-27198",
      "created_at": "2024-04-22T22:14:24Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z",
      "stars": 35,
      "is_poc": "unknown",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-01-30T11:01:54Z"
    },
    {
      "repo": "chengbochuan3/CVE-CICD-Security",
      "url": "https://github.com/chengbochuan3/CVE-CICD-Security",
      "created_at": "2026-08-13T11:38:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-04-25T12:22:30Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/Stuub/RCity-CVE-2024-27198/blob/main/RCity.py",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-27199.yaml",
      "source": "nuclei",
      "title": "nuclei template: TeamCity \u003c 2023.11.4 - Authentication Bypass",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.darkreading.com/cyberattacks-data-breaches/jetbrains-teamcity-mass-exploitation-underway-rogue-accounts-thrive",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/admin/diagnostic.jsp",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:90",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:36"
      ]
    },
    {
      "method": "GET",
      "path_template": "/app/rest/server",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/README.md:110",
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:35",
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:87",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/README.md:96",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:36"
      ]
    },
    {
      "method": "GET",
      "path_template": "/app/rest/users",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/README.md:115",
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:94"
      ]
    },
    {
      "method": "GET",
      "path_template": "/app/rest/users/id:1",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:101"
      ]
    },
    {
      "method": "GET",
      "path_template": "/hax",
      "query_markers": [
        "jsp=/app/rest/server;.jsp",
        "jsp=/app/rest/users;.jsp"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/README.md:103",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/README.md:111",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:56",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:58",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:76",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:78"
      ]
    },
    {
      "method": "GET",
      "path_template": "/jnlpJars/jenkins-cli.jar",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-23897/README.md:78",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-23897/poc.sh:32"
      ]
    },
    {
      "method": "GET",
      "path_template": "/res/../admin/admin.html",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:107",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:81"
      ]
    },
    {
      "method": "GET",
      "path_template": "/res/../admin/diagnostic.jsp",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:97",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:114",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:56",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:57"
      ]
    },
    {
      "method": "GET",
      "path_template": "/res/../admin/serverConfig.html",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:104",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:86"
      ]
    },
    {
      "method": "GET",
      "path_template": "/res/../app/rest/server",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:91",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/poc.sh:92"
      ]
    },
    {
      "method": "POST",
      "path_template": "/app/rest/users/id:1/tokens/poc",
      "content_type": "application/json",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/README.md:88",
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:58"
      ]
    },
    {
      "method": "POST",
      "path_template": "/hax",
      "query_markers": [
        "jsp=/app/rest/users;.jsp"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"username\":\"attacker\"",
        "\"password\":\"P@ssw0rd\"",
        "\"roles\"",
        "\"role\"",
        "\"roleId\":\"SYSTEM_ADMIN\"",
        "\"scope\":\"g\"",
        "\"username\":\"attacker2\""
      ],
      "content_type": "application/json",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/README.md:119",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:97",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27198/poc.sh:101",
        "chengbochuan3/CVE-CICD-Security/CVE-2024-27199/README.md:117"
      ]
    },
    {
      "method": "POST",
      "path_template": "/update/...;/app/rest/users/id:1/tokens/poc",
      "content_type": "application/json",
      "ports": [
        8080,
        8081,
        8111
      ],
      "protocol": "http",
      "repos": [
        "chengbochuan3/CVE-CICD-Security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/README.md:96",
        "chengbochuan3/CVE-CICD-Security/CVE-2023-42793/poc.sh:67"
      ]
    }
  ],
  "rules": []
}
