Lucene search
+L

LibreOffice Detection (Mac OS X)

🗓️ 13 Jul 2011 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 16 Views

The remote Mac OS X host contains LibreOffice, a free software office suite developed as a fork of OpenOffice.org.

Refs
Code
SourceLink
libreofficewww.libreoffice.org/
#TRUSTED 59655c8c9e55d9b3f11039b26ce90036ec12359faa58efcfcb9eec111ebb680ddd2f3cc75df94dd4b97f6affa9a6b235cd7a3ed4cf21e8d78b8d88a97bf0a2011ef68711cdb2a9f5e0a601aaeef6419c7d4bc9f5ad7ab54502437d79a2486ea2a868628381f499accc163a59e34fea1abf4e240c660363f6cbe2ee0d497da102a11678d8cfebea968896c267c6622a103d1793c97f09c5283e54cfa5f71b015f10a9ecb5ace2da8864d9688b8769e987a84c7f09a59a478e28d39d57ff4cec7e45c56112dc1c7ada9948848169eb1403ac2a93432adb0bf55ea2ae7b39b397f796f5a8fee8d043a4f0d1144aae0d70f4c815f0d7d8f62529666c0a8d74e39b512748fe8e1b88ad90a9649746ffad5c49e2d1836c07fa0ba5ba5b23bd48ff750749aaec26ea464f742669fe640c04af892086487f911035511fd45c02b89d74ba3a6303ba9cd5191077719e92538ad62500a91c7cdc206a3668412dccc0f09959a97609a080149d05605e72c032d5d11253b49fdb9b3fad1cc57de1dc217adc84884803693327dee7bfdbf858ce7dcb56850e5cf669b9b6112f0df0bebf8cb2ae861ec0abda24b35aa26eaf50a0452d918b93951a00ffce69836b1ffff50db4e96be23ebd9d9f7d6ec94a9631defc109ce6e384aa2931241baaad2ee3bd439d9944d40d1dc4d2c1b7571c93b5f258d775020cd84a6fcf3ed1f32480d199d93162
#TRUST-RSA-SHA256 0fa1f63bd0708bc59fee30b9cd96491387ebca275afb4e6176c7e0e5bdbf3653e2632b8e07f3f233781e7bd830d613867596835080eee5ee2512182b0443815dc6e144f6ceed1d23154a58765c72dcea8c4af77908d5cac4cf93764adfd34d3f6e0e707c3bf013059a0f83537420e96ac6ce589b44ea9b73bb0a02bdae93f0c1e3b8e1ed702b8046f8021edd8a711eb596caf7e609d4dc6b0398c75170dfa12c372bd780834cddf06774bec7beb6067f91e4bd130088f67301f13f00c275be825b0c75c54756078ceb974d75e8325bd0e9baad72f98b5281e6383ed0be5ebd2b19fcbb88acca25a5670694ce51d16c3b1d4da38460257edc757617bab987b4357ec7bf361a1ab30d7983e260265cfacaf8b0f751ffeae7adcd26bff469e4e6fbab7f9ab49bac5f4151b279ba5b3f9179660606b1387695afc3b03607b250347cb6de43b241d4ca9c6d1c892286c09e52c4b785e88ea2225c926270274a4d1e510651c05d391ed8c43a8c83176f47ff7995db855997294c964f7c535c7345db7c6e8391b7c17449631b8bd26d62af15c3cd2d9fa0fcff3c1f95c3c9dca258464987342aaad6ab2b8b4531fc2ac506425d5e35e9d560028ead2e8bb2abe8a79fc2bf7eff9f7a35b74c42b686ec64435fc335f3c21f08d18ff58a5c5eecdac7a618fce345afd8a8aabe2f5e6df4f2e9e67c9a49d27924b4cc5ca37352943129324d
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(55575);
  script_version("1.27");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/28");

  script_xref(name:"IAVT", value:"0001-T-0643");

  script_name(english:"LibreOffice Detection (Mac OS X)");
  script_summary(english:"Gets LibreOffice version from Info.plist");

  script_set_attribute(attribute:"synopsis", value:"The remote Mac OS X host contains an alternative office suite.");
  script_set_attribute(attribute:"description", value:
"LibreOffice is installed on the remote Mac OS X host.

LibreOffice is a free software office suite developed as a fork of
OpenOffice.org.");
  script_set_attribute(attribute:"see_also", value:"http://www.libreoffice.org/");
  script_set_attribute(attribute:"solution", value:"n/a");
  script_set_attribute(attribute:"risk_factor", value:"None");

  script_set_attribute(attribute:"plugin_publication_date", value:"2011/07/13");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:libreoffice:libreoffice");
  script_set_attribute(attribute:"asset_inventory", value:"True");
  script_set_attribute(attribute:"asset_inventory_category", value:"software_enumeration");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

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

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version");

  exit(0);
}

include("ssh_func.inc");
include("macosx_func.inc");
include("install_func.inc");

var app, cpe, os, kb_base, path, plist, cmd, version;

app = "LibreOffice";
cpe = "cpe:/a:libreoffice:libreoffice";

enable_ssh_wrappers();

if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled.");

os = get_kb_item_or_exit("Host/MacOSX/Version");

kb_base = "MacOSX/LibreOffice";
path = '/Applications/LibreOffice.app';
plist = path + '/Contents/Info.plist';

cmd =  'plutil -convert xml1 -o - \'' + plist + '\' 2>/dev/null | ' +
  'grep -A 1 -e CFBundleGetInfoString -e CFBundleShortVersionString | ' +
  'tail -n 1 | ' +
  'sed \'s/[^0-9.]*\\([0-9.]*\\).*/\\1/g\'';

version = exec_cmd(cmd:cmd);

if (!strlen(version))
  exit(0, "LibreOffice does not appear to be installed.");

set_kb_item(name:kb_base+"/Installed", value:TRUE);
set_kb_item(name:kb_base+"/Path", value:path);

if (version !~ "^[0-9]") exit(1, "The LibreOffice version does not look valid (" + version + ").");
set_kb_item(name:kb_base+"/Version", value:version);

register_install(
  app_name : app,
  vendor   : app,
  product  : app,
  path     : path,
  version  : version,
  cpe      : cpe
  );

report_installs(app_name:app);

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

28 Oct 2025 00:00Current
5.5Medium risk
Vulners AI Score5.5
16