Vulnerabilities > CVE-2007-5394 - Buffer Errors vulnerability in Adobe Pagemaker 7.0.1/7.0.2

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
adobe
CWE-119
critical
nessus

Summary

Stack-based buffer overflow in AldFs32.dll in Adobe PageMaker 7.0.1 and 7.0.2 allows user-assisted remote attackers to execute arbitrary code via a .PMD file with a crafted font structure, a different vulnerability than CVE-2007-5169 and CVE-2007-6432.

Vulnerable Configurations

Part Description Count
Application
Adobe
2

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 familyWindows
NASL idADOBE_PAGEMAKER_APSA08-10.NASL
descriptionThe remote host has a version of Adobe PageMaker installed that contains a version of AldFs32.dll that is affected by multiple code execution vulnerabilities : - A heap-based buffer overflow exists that could allow remote attackers to execute arbitrary code via malformed .PMD files. (CVE-2007-6021) - Multiple stack-based buffer overflow vulnerabilities exist that could allow remote attackers to execute arbitrary code via malformed .PMD files. (CVE-2007-5394, CVE-2007-6432)
last seen2020-06-01
modified2020-06-02
plugin id69099
published2013-07-29
reporterThis script is Copyright (C) 2013-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/69099
titleAdobe PageMaker 7.0.1 / 7.0.2 Multiple Vulnerabilities (APSA08-10)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(69099);
  script_version("1.8");
  script_cvs_date("Date: 2018/11/15 20:50:26");

  script_cve_id("CVE-2007-5394", "CVE-2007-6021", "CVE-2007-6432");
  script_bugtraq_id(31975, 31999);

  script_name(english:"Adobe PageMaker 7.0.1 / 7.0.2 Multiple Vulnerabilities (APSA08-10)");
  script_summary(english:"Checks version of AldFs32.dll.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has software installed that is affected by multiple
code execution vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote host has a version of Adobe PageMaker installed that
contains a version of AldFs32.dll that is affected by multiple code
execution vulnerabilities :

  - A heap-based buffer overflow exists that could allow
    remote attackers to execute arbitrary code via malformed
    .PMD files. (CVE-2007-6021)

  - Multiple stack-based buffer overflow vulnerabilities
    exist that could allow remote attackers to execute
    arbitrary code via malformed .PMD files. (CVE-2007-5394,
    CVE-2007-6432)");
  script_set_attribute(attribute:"solution", value:"Install the version of AldFS32.dll linked in the advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(119);

  script_set_attribute(attribute:"see_also", value:"https://www.adobe.com/support/security/advisories/apsa08-10.html");

  script_set_attribute(attribute:"vuln_publication_date", value:"2008/10/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2008/10/29");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/29");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:adobe:pagemaker");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2013-2018 Tenable Network Security, Inc.");

  script_dependencies("adobe_pagemaker_installed.nasl");
  script_require_keys("SMB/Adobe_PageMaker/Installed");
  script_require_ports(139, 445);

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("smb_func.inc");
include("smb_hotfixes_fcheck.inc");
include("audit.inc");

get_kb_item_or_exit("SMB/Adobe_PageMaker/Installed");

app = "Adobe PageMaker";

# Pull install info from the KB.
kb_base = "SMB/Adobe_PageMaker/";
version = get_kb_item_or_exit(kb_base + "Version");
path = get_kb_item_or_exit(kb_base + "Path");

# Only 7.0.1 and 7.0.2 are affected.
if (version !~ "^7\.0\.[12](\.|$)")
  audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);

name   = kb_smb_name();
port   = kb_smb_transport();
#if (!get_port_state(port)) audit(AUDIT_PORT_CLOSED, port);
login  = kb_smb_login();
pass   = kb_smb_password();
domain = kb_smb_domain();

# Try to connect to the server.
#soc = open_sock_tcp(port);
#if (!soc) audit(AUDIT_SOCK_FAIL, port);
#session_init(socket:soc, hostname:name);

if(!smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');


path = ereg_replace(string:path, pattern:"^(.+)\\$", replace:"\1");
share = hotfix_path2share(path:path);
exe = path + "\AldFs32.dll";

# Connect to the share the application is installed on.
rc = NetUseAdd(login:login, password:pass, domain:domain, share:share);
if (rc != 1)
{
  NetUseDel();
  audit(AUDIT_SHARE_FAIL, share);
}

# Open the DLL file.
fh = CreateFile(
  file:ereg_replace(string:exe, pattern:"^[A-Za-z]:(.*)", replace:"\1"),
  desired_access:GENERIC_READ,
  file_attributes:FILE_ATTRIBUTE_NORMAL,
  share_mode:FILE_SHARE_READ,
  create_disposition:OPEN_EXISTING
);
if (isnull(fh))
{
  NetUseDel();
  audit(AUDIT_VER_FAIL, exe);
}

# Parse the PE header.
ret = GetFileVersionEx(handle:fh);
CloseFile(handle:fh);
NetUseDel();

if (isnull(ret) || isnull(ret["dwTimeDateStamp"]))
  exit(1, "Failed to get the timestamp of '" + exe + "'.");

timestamp = ret["dwTimeDateStamp"];
fixed = 1210085114;

if (timestamp >= fixed)
  audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);

if (report_verbosity > 0)
{
  report =
    '\n  Path              : ' + path +
    '\n  Installed version : ' + version +
    '\n  File              : ' + exe +
    '\n  File timestamp    : ' + timestamp +
    '\n  Fixed timestamp   : ' + fixed +
    '\n';
}

security_hole(port:port, extra:report);

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 31975 CVE ID:CVE-2007-5394 CVE-2007-6021 CNCVE ID:CNCVE-20085394 CNCVE-20086021 Adobe PageMaker是一款页面排版软件。 Adobe PageMaker处理PMD文件存在缓冲区溢出,远程攻击者可以利用漏洞以应用程序权限执行任意指令。 构建包含特殊的字体结构的.PMD文件,诱使用户访问,在处理时由于不正确的边界错误,可触发基于栈和堆的溢出,精心构建文件,诱使用户打开,可导致以应用程序权限执行任意指令。 Adobe Pagemaker 7.0.1 Adobe Pagemaker 7.0 目前没有详细解决方案提供: <a href=http://www.adobe.com/products/pagemaker/ target=_blank>http://www.adobe.com/products/pagemaker/</a>
idSSV:4376
last seen2017-11-19
modified2008-10-31
published2008-10-31
reporterRoot
titleAdobe PageMaker字体结构缓冲区溢出漏洞