Lucene search
K

Yii Framework < 2.0.52 Unsafe Reflection Regression (GHSA-ggwg-cmwp-46r5)

🗓️ 05 Sep 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 1 Views

Yii Framework before 2.0.52 is vulnerable to unsafe reflection via class array key.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2024-58136
10 Apr 202500:00
attackerkb
BDU FSTEC
The vulnerability of the Yii2::createObject() method in the Yii PHP framework allows a attacker to execute arbitrary code.
28 May 202500:00
bdu_fstec
Circl
CVE-2024-4990
10 Apr 202503:40
circl
Circl
CVE-2024-58136
10 Apr 202503:40
circl
CISA KEV Catalog
Yiiframework Yii Improper Protection of Alternate Path Vulnerability
2 May 202500:00
cisa_kev
CISA
CISA Adds Two Known Exploited Vulnerabilities to Catalog
2 May 202512:00
cisa
CNNVD
Yii2 安全漏洞
20 Mar 202500:00
cnnvd
CNNVD
Yii 安全漏洞
10 Apr 202500:00
cnnvd
CVE
CVE-2024-4990
20 Mar 202510:11
cve
CVE
CVE-2024-58136
10 Apr 202500:00
cve
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(261483);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/09/06");

  script_cve_id("CVE-2024-58136");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2025/05/23");

  script_name(english:"Yii Framework < 2.0.52 Unsafe Reflection Regression (GHSA-ggwg-cmwp-46r5)");

  script_set_attribute(attribute:"synopsis", value:
"The Yii Framework instance installed on the remote host is affected by an unsafe reflection vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of Yii Framework installed on the remote host is prior to 2.0.52. It is, therefore, affected by an
unsafe reflection vulnerability.

  - Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a
  CVE-2024-4990 regression, as exploited in the wild in February through April 2025. (CVE-2024-58136)  

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://github.com/advisories/GHSA-ggwg-cmwp-46r5");
  script_set_attribute(attribute:"see_also", value:"https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52");
  script_set_attribute(attribute:"solution", value:
"Upgrade Yii Framework to version 2.0.52 or later.");
  script_set_attribute(attribute:"agent", value:"unix");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2024-58136");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/04/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/04/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/09/05");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:yiiframework:yii");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("yii_framework_nix_installed.nbin");
  script_require_keys("installed_sw/Yii Framework");

  exit(0);
}

include('vcf.inc');

var app_info = vcf::get_app_info(app:'Yii Framework');

var constraints = [{'fixed_version': '2.0.52'}];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Sep 2025 00:00Current
8.2High risk
Vulners AI Score8.2
CVSS 3.19 - 9.8
CVSS 38.1
EPSS0.77265
SSVC
1