{
  "id": "CVE-2025-3125",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-3125",
  "published_at": "2025-11-05T14:49:44.597Z",
  "title": "Authenticated Arbitrary File Upload in Multiple WSO2 Products via CarbonAppUploader Admin Service Leading to Remote Code Execution",
  "vendor": "WSO2",
  "product": "WSO2 Identity Server",
  "cvss": {
    "score": 7.2,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "An arbitrary file upload vulnerability exists in multiple WSO2 products due to improper input validation in the CarbonAppUploader admin service endpoint. An authenticated attacker with appropriate privileges can upload a malicious file to a user-controlled location on the server, potentially leading to remote code execution (RCE).\n\nThis functionality is restricted by default to admin users; therefore, successful exploitation requires valid credentials with administrative permissions.",
  "cwe": "CWE-434",
  "cpes": [
    "cpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.0.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:enterprise_integrator:6.6.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:5.10.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:5.11.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:6.0.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:6.1.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server:7.0.0:-:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:identity_server_as_key_manager:5.10.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:open_banking_iam:2.0.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.7,
    "nvd": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "WSO2",
        "product": "WSO2 Identity Server",
        "ranges": [
          "\u003e= 5.10.0, \u003c 5.10.0.360",
          "\u003e= 5.11.0, \u003c 5.11.0.399",
          "\u003e= 6.0.0, \u003c 6.0.0.235",
          "\u003e= 6.1.0, \u003c 6.1.0.230",
          "\u003e= 7.0.0, \u003c 7.0.0.101",
          "\u003e= 7.1.0, \u003c 7.1.0.32"
        ],
        "fixed_in": [
          "5.10.0.360",
          "5.11.0.399",
          "6.0.0.235",
          "6.1.0.230",
          "7.0.0.101",
          "7.1.0.32"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Enterprise Integrator",
        "ranges": [
          "\u003e= 6.6.0, \u003c 6.6.0.217"
        ],
        "fixed_in": [
          "6.6.0.217"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Open Banking IAM",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.0.0.402"
        ],
        "fixed_in": [
          "2.0.0.402"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Identity Server as Key Manager",
        "ranges": [
          "\u003e= 5.10.0, \u003c 5.10.0.353"
        ],
        "fixed_in": [
          "5.10.0.353"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 API Manager",
        "ranges": [
          "\u003e= 3.2.0, \u003c 3.2.0.421",
          "\u003e= 3.2.1, \u003c 3.2.1.41",
          "\u003e= 4.0.0, \u003c 4.0.0.342",
          "\u003e= 4.1.0, \u003c 4.1.0.203",
          "\u003e= 4.2.0, \u003c 4.2.0.142",
          "\u003e= 4.3.0, \u003c 4.3.0.55",
          "\u003e= 4.4.0, \u003c 4.4.0.19",
          "\u003e= 4.5.0, \u003c 4.5.0.2",
          "\u003e= 4.6.0, \u003c 4.6.0.3"
        ],
        "fixed_in": [
          "3.2.0.421",
          "3.2.1.41",
          "4.0.0.342",
          "4.1.0.203",
          "4.2.0.142",
          "4.3.0.55",
          "4.4.0.19",
          "4.5.0.2",
          "4.6.0.3"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 API Control Plane",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.2",
          "\u003e= 4.6.0, \u003c 4.6.0.3"
        ],
        "fixed_in": [
          "4.5.0.2",
          "4.6.0.3"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Universal Gateway",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.2",
          "\u003e= 4.6.0, \u003c 4.6.0.3"
        ],
        "fixed_in": [
          "4.5.0.2",
          "4.6.0.3"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "WSO2 Traffic Manager",
        "ranges": [
          "\u003e= 4.5.0, \u003c 4.5.0.2",
          "\u003e= 4.6.0, \u003c 4.6.0.3"
        ],
        "fixed_in": [
          "4.5.0.2",
          "4.6.0.3"
        ]
      },
      {
        "vendor": "WSO2",
        "product": "org.wso2.carbon.commons:org.wso2.carbon.application.upload",
        "ranges": [
          "\u003e= 4.7.19, \u003c 4.7.19.7",
          "\u003e= 4.7.32, \u003c 4.7.32.5",
          "\u003e= 4.7.35, \u003c 4.7.35.8",
          "\u003e= 4.7.39, \u003c 4.7.39.1",
          "\u003e= 4.7.49, \u003c 4.7.49.4",
          "\u003e= 4.7.52, \u003c 4.7.52.1",
          "\u003e= 4.10.13, \u003c 4.10.13.1"
        ],
        "fixed_in": [
          "4.7.19.7",
          "4.7.32.5",
          "4.7.35.8",
          "4.7.39.1",
          "4.7.49.4",
          "4.7.52.1",
          "4.10.13.1",
          "4.9.12",
          "4.10.24"
        ]
      }
    ],
    "solutions": [
      "Follow the instructions given on  https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3961/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3961/#solution"
    ],
    "upgrade": [
      "Upgrade WSO2 Identity Server to 5.10.0.360 or 5.11.0.399 or 6.0.0.235 or 6.1.0.230 or 7.0.0.101 or 7.1.0.32 or later.",
      "Upgrade WSO2 Enterprise Integrator to 6.6.0.217 or later.",
      "Upgrade WSO2 Open Banking IAM to 2.0.0.402 or later.",
      "Upgrade WSO2 Identity Server as Key Manager to 5.10.0.353 or later.",
      "Upgrade WSO2 API Manager to 3.2.0.421 or 3.2.1.41 or 4.0.0.342 or 4.1.0.203 or 4.2.0.142 or 4.3.0.55 or 4.4.0.19 or 4.5.0.2 or 4.6.0.3 or later.",
      "Upgrade WSO2 API Control Plane to 4.5.0.2 or 4.6.0.3 or later.",
      "Upgrade WSO2 Universal Gateway to 4.5.0.2 or 4.6.0.3 or later.",
      "Upgrade WSO2 Traffic Manager to 4.5.0.2 or 4.6.0.3 or later.",
      "Upgrade org.wso2.carbon.commons:org.wso2.carbon.application.upload to 4.7.19.7 or 4.7.32.5 or 4.7.35.8 or 4.7.39.1 or 4.7.49.4 or 4.7.52.1 or 4.10.13.1 or 4.9.12 or 4.10.24 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3961/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
