Exploit databaseDownload repository ZIP
GH-67340f13e331ad187786f604c1fd57ca
nonamecoder/cve-2023-22906
Sources for CVE-2023-22906
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files97
nonamecoder/cve-2023-22906Revision 16f7f58c0c4c
- ↑..Parent directory
- vul_func_106_printf-fsck.fat.html
- vul_func_106_system-libpaho-mqttpp3.so.html
- vul_func_10_system-libAIFeatures.so.html
- vul_func_117_printf-dump_mmap.html
- vul_func_11_printf-iwspy.html
- vul_func_12_fprintf-libcore-main.so.html
- vul_func_13_printf-libssl.so.1.0.0.html
- vul_func_14_printf-iwpriv.html
- vul_func_14_printf-libcore-main.so.html
- vul_func_15_printf-libudev.so.0.html
- vul_func_16_fprintf-fsck.fat.html
- vul_func_16_system-libAICommon.so.html
- vul_func_195_sprintf-linuxrc.html
- vul_func_19_fprintf-test_qr.html
- vul_func_1_fprintf-libjpeg.so.9.html
- vul_func_1_fprintf-libpaho-mqtt3as.so.html
- vul_func_1_printf-downloadManager.html
- vul_func_1_printf-iwevent.html
- vul_func_1_printf-libnl-3.so.200.html
- vul_func_1_printf-libpaho-mqtt3as.so.html
- vul_func_1_sprintf-ifrename.html
- vul_func_1_sprintf-libcrypto.so.html
- vul_func_1_strcpy-fsck.fat.html
- vul_func_1_strcpy-libcrypto.so.html
- vul_func_1_strcpy-libpaho-mqtt3cs.so.1.html
- vul_func_1_strcpy-libsqliteCpp.so.html
- vul_func_1_strcpy-libsyscmdsock.so.html
- vul_func_1_strcpy-libzbar.so.0.html
- vul_func_1_strcpy-nanddump.html
- vul_func_1_strcpy-server_cmd.html
- vul_func_1_system-ck_resetpin.html
- vul_func_1_system-libP2pClient.so.html
- vul_func_1_system-libsyscmdsock.so.html
- vul_func_1_system-server_cmd.html
- vul_func_1_system-setDateTime.html
- vul_func_202_printf-linuxrc.html
- vul_func_20_printf-libssl.so.html
- vul_func_23_fprintf-fw_setenv.html
- vul_func_23_printf-test_qr.html
- vul_func_25_printf-ld-uClibc.so.0.html
- vul_func_28_printf-fw_setenv.html
- vul_func_29_fprintf-libjsoncpp.so.html
- vul_func_29_printf-libjsoncpp.so.html
- vul_func_2_fprintf-iwconfig.html
- vul_func_2_fprintf-libiperf.so.0.html
- vul_func_2_printf-libstdc++.so.6.0.20.html
- vul_func_2_sprintf-libjpeg.so.9.html
- vul_func_2_sprintf-libstdc++.so.6.0.20.html
- vul_func_2_strcat-dump_mmap.html
- vul_func_2_strcat-libsyscmdsock.so.html
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
html-report/s14_weak_func_radare_check/vul_func_7_sprintf-libzbar.so.0.html
HTML · 15,104 bytes<!--
EMBA - EMBEDDED LINUX ANALYZER
Copyright 2020-2023 Siemens AG
Copyright 2020-2023 Siemens Energy AG
EMBA comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under the terms of the GNU General Public License.
See LICENSE file for usage of this software.
EMBA is licensed under GPLv3
Author(s): Pascal Eckmann
Contributor(s): Michael Messner, Stefan Haboeck
-->
<!-- Used icons: https://github.com/CoreyGinnivan/system-uicons -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>EMBA firmware report</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../style/style.css" type="text/css">
<link rel="icon" type="image/png" href="../style/favicon.png">
</head>
<body>
<div id="sidenav" class="side">
<div id="logo">
<a class="inherit" href="../index.html"><img class="inherit" id="logoImage" src="../style/emba.svg" alt="logo"></a>
</div>
<div id="nav">
<a id="embark" class="hidden" href="http://24.199.64.69:8000/html-report/s14_weak_func_radare_check/{{ embarkBackUrl }}">« Back to EMBArk</a> <!-- nosem -->
<a class="backButton" href="../index.html">« Back to main</a>
<a class="modul" href="../s14_weak_func_radare_check.html" title="./../s14_weak_func_radare_check.html" >« Back to s14_weak_func_radare_check</a>
<!-- navigation start -->
<!-- navigation end -->
<input id="expand" class="expand_njs hidden" type="button" value="More results:" onclick="this.value=this.value=='+ Show more results'?'- Hide more results':'+ Show more results';">
<div class="expand_area">
<!-- etc start -->
<!-- etc end -->
</div>
</div>
<a href="http://24.199.64.69:8000/html-report/s14_weak_func_radare_check/TIMELINK"><div id="buttonTimeInvisible" class="rectButton"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round" transform="matrix(-1 0 0 1 19 2)"><circle cx="8.5" cy="8.5" r="8"/><path d="M8.5 5.5v4H5"/></g></svg></div></a>
<div id="buttonSizer" class="rectButton buttonClose" onclick="buttonNav()"></div>
</div>
<div id="main" class="main">
<!-- content start -->
<pre>[</span><span class="orange">*</span>] Binary protection state of </span><span class="orange">libzbar.so.0</span></pre>
<br />
<pre> </pre>
<pre> <span class="orange">Partial RELRO</span> <span class="red">No Canary found</span> <span class="green">NX enabled</span> <span class="orange">DSO</span> <span class="red">RPATH</span> <span class="green">No RUNPATH</span> <span class="red">Symbols</pre>
<pre> <span class="orange">Partial RELRO</span> <span class="red">No Canary found</span> <span class="green">NX enabled</span> <span class="orange">DSO</span> <span class="green">No RPATH</span> <span class="green">No RUNPATH</span> <span class="green">No Symbols</pre>
<br />
<pre></span></pre>
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">sprintf</span> tear down of </span><span class="orange">libzbar.so.0</span></pre>
<br />
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>mov r0, r2</pre>
<pre>mov r1, r3</pre>
<pre>blx sym.imp.realloc</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>str r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r1, [r3, 8]</pre>
<pre>add.w r2, r7, 0x18</pre>
<pre>ldr r3, [r7, 0x40]</pre>
<pre>str r3, [sp]</pre>
<pre>ldr r3, [r7, 0x4c]</pre>
<pre>str r3, [sp, 4]</pre>
<pre>mov r0, r1</pre>
<pre>mov r1, r2</pre>
<pre>ldr r2, [r7, 0x54]</pre>
<pre>ldr r3, [r7, 0x50]</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>str r0, [r7, 0x48]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>--</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x3c]</pre>
<pre>add r3, r2</pre>
<pre>mov r0, r4</pre>
<pre>mov r1, r3</pre>
<pre>blx sym.imp.realloc</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>str r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>adds r1, r2, r3</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 0x1c]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r3, [r3, 0x20]</pre>
<pre>mov r0, r1</pre>
<pre>mov r1, r2</pre>
<pre>mov r2, r3</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>--</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x3c]</pre>
<pre>adds r3, 0x20</pre>
<pre>mov r0, r2</pre>
<pre>mov r1, r3</pre>
<pre>blx sym.imp.realloc</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>str r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>adds r1, r2, r3</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 0x1c]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r3, [r3, 0x24]</pre>
<pre>mov r0, r1</pre>
<pre>mov r1, r2</pre>
<pre>mov r2, r3</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>--</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x3c]</pre>
<pre>mov r0, r2</pre>
<pre>mov r1, r3</pre>
<pre>blx sym.imp.realloc</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>str r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>add r2, r3</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r3, [r3, 0x1c]</pre>
<pre>mov r0, r2</pre>
<pre>ldr r2, [0x000035e4]</pre>
<pre>add r2, pc</pre>
<pre>mov r1, r2</pre>
<pre>mov r2, r3</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>--</pre>
<pre>ldr r0, [r7, 0x38]</pre>
<pre>blx sym.imp.strlen</pre>
<pre>mov r3, r0</pre>
<pre>add r3, r4</pre>
<pre>mov r0, r5</pre>
<pre>mov r1, r3</pre>
<pre>blx sym.imp.realloc</pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>str r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r2, [r3, 8]</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>adds r1, r2, r3</pre>
<pre>ldr r3, [r7, 0x44]</pre>
<pre>ldr r3, [r3, 0xc]</pre>
<pre>add.w r2, r7, 0xc</pre>
<pre>mov r0, r1</pre>
<pre>mov r1, r2</pre>
<pre>ldr r2, [r7, 0x38]</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>mov r2, r0</pre>
<pre>ldr r3, [r7, 0x48]</pre>
<pre>--</pre>
<pre>ldr r1, [r7, 0x4c]</pre>
<pre>bl 0x1def4</pre>
<pre>mov r3, r0</pre>
<pre>mov r2, r3</pre>
<pre>movw r3, 0x6667</pre>
<pre>movt r3, 0x6666</pre>
<pre>smull r3, r4, r2, r3</pre>
<pre>asrs r1, r4, 2</pre>
<pre>asrs r3, r2, 0x1f</pre>
<pre>subs r3, r1, r3</pre>
<pre>lsls r3, r3, 1</pre>
<pre>lsls r1, r3, 2</pre>
<pre>add r3, r1</pre>
<pre>subs r3, r2, r3</pre>
<pre>add.w r2, r7, 0xc</pre>
<pre>mov r0, r2</pre>
<pre>ldr r2, [0x000084e8]</pre>
<pre>add r2, pc</pre>
<pre>mov r1, r2</pre>
<pre>mov r2, r5</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>add.w r3, r7, 0xc</pre>
<pre>str r3, [sp]</pre>
<pre>--</pre>
<pre>beq 0x1a38a</pre>
<pre>ldr.w r3, [r7, 0x88]</pre>
<pre>subs r3, 3</pre>
<pre>ldr.w r2, [r7, 0x88]</pre>
<pre>cmp r2, 2</pre>
<pre>ite ls</pre>
<pre>movls r2, 1</pre>
<pre>movhi r2, 0</pre>
<pre>uxtb r2, r2</pre>
<pre>rsbs r2, r2, 0</pre>
<pre>ands r3, r2</pre>
<pre>ldr.w r2, [r7, 0x88]</pre>
<pre>subs r3, r2, r3</pre>
<pre>subs r3, 2</pre>
<pre>add.w r2, r7, 0x50</pre>
<pre>mov r0, r2</pre>
<pre>ldr r2, [0x0001a708]</pre>
<pre>add r2, pc</pre>
<pre>mov r1, r2</pre>
<pre>mov r2, r3</pre>
<pre><span class="red">blx sym.imp.sprintf</span></pre>
<pre>add.w r3, r7, 0x50</pre>
<pre>str.w r3, [r7, 0xcc]</pre>
<br />
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">sprintf</span> used </span><span class="orange">7</span> times </span><span class="orange">libzbar.so.0</span></pre>
<br />
<!-- content end -->
</div>
<a href="https://github.com/e-m-b-a/emba" title="github.com/e-m-b-a/emba" target="_blank">
<div id="buttonInfo" class="rectButtonVisible">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" transform="translate(2 2)"><g stroke="white" stroke-linecap="round" stroke-linejoin="round"><circle cx="8.5" cy="8.5" r="8"/><path d="M8.5 12.5v-4h-1"/><path d="M7.5 12.5h2"/></g><circle cx="8.5" cy="5.5" fill="white" r="1"/></g></svg>
</div>
</a>
<div id="buttonBack" class="nonClickable rectButtonVisible"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><path d="M9.5 14.5l4-4l-4-4" fill="none" stroke="#444" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<div id="buttonForward" class="nonClickable rectButtonVisible"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><path d="M11.5 14.5l-4-4l4-4" fill="none" stroke="#444" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<div id="buttonDown" class="rectButton" onclick="scrollDown()"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 6.5l-4 4l-4-4"/><path d="M14.5 10.5l-4 4l-4-4"/></g></svg></div>
<div id="buttonUp" class="rectButton" onclick="scrollUp()"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path d="M6.5 14.5l4-4l4 4"/><path d="M6.5 10.5l4-4l4 4"/></g></svg></div>
<script>
window.onload = function () {
var buttons = document.getElementsByClassName("rectButton");
for (let i=0; i<buttons.length; i++) {
buttons[i].style.visibility = "visible";
}
var buttonDown = document.getElementById("buttonDown");
buttonDown.classList.add('rectButtonVisible');
buttonDown.classList.remove('rectButton');
var buttonUp = document.getElementById("buttonUp");
buttonUp.classList.add('rectButtonVisible');
buttonUp.classList.remove('rectButton');
var buttonSizer = document.getElementById("buttonSizer");
buttonSizer.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 16.5v-4.978l-5-.022"/><path d="M18.5 2.5l-7 7"/><path d="M16.5 9.5l-5 .023V4.5"/><path d="M9.5 11.5l-7 7"/></g></svg>';
if (document.getElementById("buttonTime") !== null) {
var buttonTime = document.getElementById("buttonTime");
buttonTime.style.bottom = "50px";
}
document.getElementById("expand").value = "+ Show more results";
document.getElementById("expand").className += " expand";
var embarkButton = document.getElementById("embark");
if ( !(embarkButton.href.includes("embarkBackUrl")) ) {
embarkButton.classList.remove('hidden');
document.getElementById("logoImage").src = "./../style/embark.svg";
document.getElementById("logo").style.background = "#2d2d2d";
}
}
function openNav() {
document.getElementById("sidenav").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
document.getElementById("nav").style.visibility = "visible";
}
function closeNav() {
document.getElementById("sidenav").style.width = "50px";
document.getElementById("sidenav").scrollTop = 0;
document.getElementById("main").style.marginLeft = "50px";
document.getElementById("nav").style.visibility = "hidden";
}
function scrollDown() {
window.scrollTo(0,document.body.scrollHeight);
}
function scrollUp() {
window.scrollTo(0,0);
}
function buttonNav() {
var button = document.getElementById("buttonSizer");
if ( button.classList.contains('buttonOpen') ) {
button.classList.remove('buttonOpen');
button.classList.add('buttonClose');
button.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 16.5v-4.978l-5-.022"/><path d="M18.5 2.5l-7 7"/><path d="M16.5 9.5l-5 .023V4.5"/><path d="M9.5 11.5l-7 7"/></g></svg>';
openNav();
} else if( button.classList.contains('buttonClose') ) {
button.classList.remove('buttonClose');
button.classList.add('buttonOpen');
button.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="40" height="40" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd" stroke="white" stroke-linecap="round" stroke-linejoin="round"><path d="M18.5 7.5v-5h-5"/><path d="M18.5 2.5l-6 5.929"/><path d="M7.5 18.5l-5 .023V13.5"/><path d="M8.5 12.5l-6 6"/></g></svg>';
closeNav();
};
}
document.onkeydown = function(e) {
switch (e.keyCode) {
case 37:
document.getElementById("buttonForward").parentNode.click();
break;
case 39:
document.getElementById("buttonBack").parentNode.click();
break;
}
};
</script>
</body>
</html>