Vulnerabilities > CVE-2008-1928 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Imager
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
PARTIAL Summary
Buffer overflow in Imager 0.42 through 0.63 allows attackers to cause a denial of service (crash) via an image based fill in which the number of input channels is different from the number of output channels.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2008-3352.NASL description - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. - Thu Mar 6 2008 Tom last seen 2020-06-01 modified 2020-06-02 plugin id 32095 published 2008-05-01 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32095 title Fedora 8 : perl-Imager-0.64-2.fc8 (2008-3352) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2008-3352. # include("compat.inc"); if (description) { script_id(32095); script_version ("1.13"); script_cvs_date("Date: 2019/08/02 13:32:27"); script_cve_id("CVE-2008-1928"); script_xref(name:"FEDORA", value:"2008-3352"); script_name(english:"Fedora 8 : perl-Imager-0.64-2.fc8 (2008-3352)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: " - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. - Thu Mar 6 2008 Tom 'spot' Callaway <tcallawa at redhat.com> - 0.62-3 - rebuild for new perl - Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.62-2 - Autorebuild for GCC 4.3 - Tue Dec 11 2007 Steven Pritchard <steve at kspei.com> 0.62-1 - Update to 0.62. - Update License tag. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=443938" ); # https://lists.fedoraproject.org/pipermail/package-announce/2008-April/009594.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?a62b865e" ); script_set_attribute( attribute:"solution", value:"Update the affected perl-Imager package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:perl-Imager"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:8"); script_set_attribute(attribute:"patch_publication_date", value:"2008/04/29"); script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/01"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^8([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 8.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC8", reference:"perl-Imager-0.64-2.fc8")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "perl-Imager"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2008-3920.NASL description - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. - Thu Mar 6 2008 Tom last seen 2020-06-01 modified 2020-06-02 plugin id 32344 published 2008-05-16 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32344 title Fedora 7 : perl-Imager-0.64-2.fc7 (2008-3920) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2008-3920. # include("compat.inc"); if (description) { script_id(32344); script_version ("1.13"); script_cvs_date("Date: 2019/08/02 13:32:27"); script_cve_id("CVE-2008-1928"); script_xref(name:"FEDORA", value:"2008-3920"); script_name(english:"Fedora 7 : perl-Imager-0.64-2.fc7 (2008-3920)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: " - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. - Thu Mar 6 2008 Tom 'spot' Callaway <tcallawa at redhat.com> - 0.62-3 - rebuild for new perl - Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.62-2 - Autorebuild for GCC 4.3 - Tue Dec 11 2007 Steven Pritchard <steve at kspei.com> 0.62-1 - Update to 0.62. - Update License tag. - Mon Sep 17 2007 Steven Pritchard <steve at kspei.com> 0.60-1 - Update to 0.60. - Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.59-2 - Rebuild for selinux ppc32 issue. - Tue Jun 26 2007 Steven Pritchard <steve at kspei.com> 0.59-1 - Update to 0.59. - Fri May 18 2007 Steven Pritchard <steve at kspei.com> 0.58-1 - Update to 0.58. - Drop hack to change location of rgb.txt (fixed upstream). - BR Image::Math::Constrain and Affix::Infix2Postfix for better test coverage. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=443938" ); # https://lists.fedoraproject.org/pipermail/package-announce/2008-May/009926.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?a0b4cc42" ); script_set_attribute( attribute:"solution", value:"Update the affected perl-Imager package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:perl-Imager"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:7"); script_set_attribute(attribute:"patch_publication_date", value:"2008/05/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/16"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 7.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC7", reference:"perl-Imager-0.64-2.fc7")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "perl-Imager"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2008-4003.NASL description - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 32383 published 2008-05-20 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32383 title Fedora 9 : perl-Imager-0.64-2.fc9 (2008-4003) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2008-4003. # include("compat.inc"); if (description) { script_id(32383); script_version ("1.13"); script_cvs_date("Date: 2019/08/02 13:32:27"); script_cve_id("CVE-2008-1928"); script_xref(name:"FEDORA", value:"2008-4003"); script_name(english:"Fedora 9 : perl-Imager-0.64-2.fc9 (2008-4003)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: " - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-2 - Rebuild. - Thu Apr 24 2008 Steven Pritchard <steve at kspei.com> 0.64-1 - Update to 0.64 (CVE-2008-1928). - Add versioned Test::More BR. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=443938" ); # https://lists.fedoraproject.org/pipermail/package-announce/2008-May/009982.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?9eb93f38" ); script_set_attribute( attribute:"solution", value:"Update the affected perl-Imager package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:perl-Imager"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:9"); script_set_attribute(attribute:"patch_publication_date", value:"2008/05/17"); script_set_attribute(attribute:"plugin_publication_date", value:"2008/05/20"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2008-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^9([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 9.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC9", reference:"perl-Imager-0.64-2.fc9")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "perl-Imager"); }
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 28980 CVE(CAN) ID: CVE-2008-1928 Imager是一个CPAN模块,可提供24位的图形编辑功能。 Imager在对很大的示例输出图形使用基于图形填充时存在堆溢出漏洞,如果用户受骗打开的图形文件输入通道数不匹配输出通道数的话,就可能触发这个溢出,导致执行任意代码。 Imager 0.63 Imager ------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://imager.perl.org/ target=_blank>http://imager.perl.org/</a> |
id | SSV:3245 |
last seen | 2017-11-19 |
modified | 2008-04-30 |
published | 2008-04-30 |
reporter | Root |
title | Imager基于图形填充堆溢出漏洞 |
References
- http://imager.perl.org/i/release064/Imager_0_64
- http://rt.cpan.org/Public/Bug/Display.html?id=35324
- http://secunia.com/advisories/30011
- http://secunia.com/advisories/30030
- http://www.securityfocus.com/bid/28980
- http://www.vupen.com/english/advisories/2008/1387/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41986
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00569.html