Lucene search
+L

WinAsm Studio Buffer Overflow Vulnerability

🗓️ 26 Mar 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

WinAsm Studio Buffer Overflow Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-1040
16 Mar 200900:00
circl
cve
CVE
CVE-2009-1040
20 Mar 200918:00
cve
cvelist
Cvelist
CVE-2009-1040
20 Mar 200918:00
cvelist
exploitdb
Exploit DB
WinAsm Studio 5.1.5.0 - Local Heap Overflow (PoC)
16 Mar 200900:00
exploitdb
euvd
EUVD
EUVD-2009-1041
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-1040
20 Mar 200918:30
nvd
openvas
OpenVAS
WinAsm Studio Buffer Overflow Vulnerability
26 Mar 200900:00
openvas
prion
Prion
Buffer overflow
20 Mar 200918:30
prion
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900532");
  script_version("2025-03-05T05:38:52+0000");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2009-03-26 11:19:12 +0100 (Thu, 26 Mar 2009)");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2009-1040");
  script_name("WinAsm Studio Buffer Overflow Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/34309");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/34132");
  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8224");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/49266");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("Buffer overflow");
  script_dependencies("smb_reg_service_pack.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  script_tag(name:"affected", value:"WinAsm Studio version 5.1.5.0 and prior.");
  script_tag(name:"insight", value:"Improper boundary checking while handling project files which leads to
  heap overflow while processing crafted '.wap' files.");
  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
  of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
  release, disable respective features, remove the product or replace the product by another one.");
  script_tag(name:"summary", value:"WinAsm Studio is prone to a heap overflow vulnerability.");
  script_tag(name:"impact", value:"Successful exploitation will let the attacker execute arbitrary codes in
  the context of the application to cause heap overflow.");
  script_tag(name:"solution_type", value:"WillNotFix");
  script_xref(name:"URL", value:"http://www.winasm.net");
  exit(0);
}

include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

progDir = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion\",
                           item:"ProgramFilesDir");
if(!progDir){
  exit(0);
}

winasmPath1 = progDir + "\WinAsm\WinAsm.exe";
winasmPath2 = progDir - "Program Files" + "\WinAsm\WinAsm.exe";

foreach path (make_list(winasmPath1, winasmPath2))
{
  share = ereg_replace(pattern:"([A-Z]):.*",replace:"\1$",string:path);
  file = ereg_replace(pattern:"[A-Z]:(.*)",replace:"\1",string:path);
  version = GetVer(file:file, share:share);
  if(version != NULL)
  {
    if(version_is_less_equal(version:version, test_version:"5.1.5.0")){
      security_message( port: 0, data: "The target host was found to be vulnerable" );
    }
    exit(0);
  }
}

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

05 Mar 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 29.3
EPSS0.05757
16