{
  "id": "CVE-2025-58159",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58159",
  "published_at": "2025-08-29T22:15:12.472Z",
  "title": "WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)",
  "vendor": "LabRedesCefetRJ",
  "product": "WeGIA",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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": "WeGIA is a Web manager for charitable institutions. Prior to version 3.4.11, a remote code execution vulnerability was identified, caused by improper validation of uploaded files. The application allows an attacker to upload files with arbitrary filenames, including those with a .php extension. Because the uploaded file is written directly to disk without adequate sanitization or extension restrictions, a spreadsheet file followed by PHP code can be uploaded and executed on the server, leading to arbitrary code execution. This is due to insufficient mitigation of CVE-2025-22133. This issue has been patched in version 3.4.11.",
  "cwe": "CWE-434",
  "cpes": [
    "cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "LabRedesCefetRJ",
        "product": "WeGIA",
        "ranges": [
          "\u003c 3.4.11"
        ],
        "fixed_in": [
          "3.4.11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade WeGIA to 3.4.11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-wj2c-237g-cgqp"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
