Exploit database

GH-67340f13e331ad187786f604c1fd57ca

nonamecoder/cve-2023-22906

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-22906

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files61Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

html-report/s13_weak_func_check/vul_func_5_mmap-libAPC_LINUX.so.html

HTML · 16,887 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/s13_weak_func_check/{{&#32;embarkBackUrl&#32;}}">&laquo; Back to EMBArk</a> <!-- nosem -->
      <a class="backButton" href="../index.html">&laquo; Back to main</a>
<a class="modul" href="../s13_weak_func_check.html" title="./../s13_weak_func_check.html" >&laquo; Back to s13_weak_func_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/s13_weak_func_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">libAPC_LINUX.so</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="green">No RPATH</span>     <span class="green">No RUNPATH</span>   <span class="green">No Symbols</span></pre>
<br />
<pre></span></pre>
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">mmap</span> tear down of </span><span class="orange">libAPC_LINUX.so</span></pre>
<br />
<pre><span class="red">    18ec:	ebfffec1 	bl	13f8 &lt</span>ap&commat;plt+0x6c4&gt</span></span></pre>
<pre><span class="red">    18f0:	e59f3358 	ldr	r3, [pc, #856]	; 1c50 &lt</span>ap&commat;plt+0xf1c&gt</span></span></pre>
<pre>    18f4:	e5950040 	ldr	r0, [r5, #64]	; 0x40</pre>
<pre>    18f8:	e08f3003 	add	r3, pc, r3</pre>
<pre>    18fc:	e1d3e0f4 	ldrsh	lr, [r3, #4]</pre>
<pre>    1900:	e150000e 	cmp	r0, lr</pre>
<pre><span class="red">    1904:	ca0000c0 	bgt	1c0c &lt</span>ap&commat;plt+0xed8&gt</span></span></pre>
<pre>    1908:	e2832fa1 	add	r2, r3, #644	; 0x284</pre>
<pre>    190c:	e1d220f0 	ldrsh	r2, [r2]</pre>
<pre>    1910:	e1500002 	cmp	r0, r2</pre>
<pre><span class="red">    1914:	ba0000b3 	blt	1be8 &lt</span>ap&commat;plt+0xeb4&gt</span></span></pre>
<pre>    1918:	e3a02000 	mov	r2, #0</pre>
<pre><span class="red">    191c:	ea000002 	b	192c &lt</span>ap&commat;plt+0xbf8&gt</span></span></pre>
<pre>    1920:	e2822001 	add	r2, r2, #1</pre>
<pre>    1924:	e3520051 	cmp	r2, #81	; 0x51</pre>
<pre><span class="red">    1928:	0a0000bc 	beq	1c20 &lt</span>ap&commat;plt+0xeec&gt</span></span></pre>
<pre>    192c:	e1d310f4 	ldrsh	r1, [r3, #4]</pre>
<pre>    1930:	e2833008 	add	r3, r3, #8</pre>
<pre>    1934:	e1500001 	cmp	r0, r1</pre>
<pre><span class="red">    1938:	bafffff8 	blt	1920 &lt</span>ap&commat;plt+0xbec&gt</span></span></pre>
<pre><span class="red">    193c:	e59f3310 	ldr	r3, [pc, #784]	; 1c54 &lt</span>ap&commat;plt+0xf20&gt</span></span></pre>
<pre>--</pre>
<pre><span class="red">    34ac:	ebfff871 	bl	1678 &lt</span>ap&commat;plt+0x944&gt</span></span></pre>
<pre>    34b0:	e1a01000 	mov	r1, r0</pre>
<pre>    34b4:	e1a00004 	mov	r0, r4</pre>
<pre>    34b8:	ebfffb1f 	bl	213c &lt;IaaAgc_GetLibVersion&commat;&commat;Base+0x4b8&gt;</pre>
<pre>    34bc:	e5962b50 	ldr	r2, [r6, #2896]	; 0xb50</pre>
<pre>    34c0:	e3a03000 	mov	r3, #0</pre>
<pre>    34c4:	e5843078 	str	r3, [r4, #120]	; 0x78</pre>
<pre>    34c8:	e1520003 	cmp	r2, r3</pre>
<pre>    34cc:	0a000002 	beq	34dc &lt;IaaAgc_Run&commat;&commat;Base+0x250&gt;</pre>
<pre>    34d0:	e5941024 	ldr	r1, [r4, #36]	; 0x24</pre>
<pre>    34d4:	e3510001 	cmp	r1, #1</pre>
<pre>    34d8:	0a00001c 	beq	3550 &lt;IaaAgc_Run&commat;&commat;Base+0x2c4&gt;</pre>
<pre>    34dc:	e5943070 	ldr	r3, [r4, #112]	; 0x70</pre>
<pre>    34e0:	e5940064 	ldr	r0, [r4, #100]	; 0x64</pre>
<pre>    34e4:	e5843074 	str	r3, [r4, #116]	; 0x74</pre>
<pre>    34e8:	e3a03001 	mov	r3, #1</pre>
<pre>    34ec:	e584308c 	str	r3, [r4, #140]	; 0x8c</pre>
<pre>    34f0:	e28dd014 	add	sp, sp, #20</pre>
<pre>    34f4:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}</pre>
<pre>    34f8:	e5963b60 	ldr	r3, [r6, #2912]	; 0xb60</pre>
<pre>    34fc:	e3530001 	cmp	r3, #1</pre>
<pre>--</pre>
<pre><span class="red">    3520:	ebfff64c 	bl	e58 &lt</span>ap&commat;plt+0x124&gt</span></span></pre>
<pre>    3524:	e59a9388 	ldr	r9, [sl, #904]	; 0x388</pre>
<pre>    3528:	e596bb24 	ldr	fp, [r6, #2852]	; 0xb24</pre>
<pre>    352c:	e003099b 	mul	r3, fp, r9</pre>
<pre>    3530:	eaffff8f 	b	3374 &lt;IaaAgc_Run&commat;&commat;Base+0xe8&gt;</pre>
<pre>    3534:	e28ccfa1 	add	ip, ip, #644	; 0x284</pre>
<pre>    3538:	e1dca0f0 	ldrsh	sl, [ip]</pre>
<pre>    353c:	eaffffab 	b	33f0 &lt;IaaAgc_Run&commat;&commat;Base+0x164&gt;</pre>
<pre>    3540:	e1a0c002 	mov	ip, r2</pre>
<pre>    3544:	eaffffbe 	b	3444 &lt;IaaAgc_Run&commat;&commat;Base+0x1b8&gt;</pre>
<pre>    3548:	e3a0a000 	mov	sl, #0</pre>
<pre>    354c:	eaffffa7 	b	33f0 &lt;IaaAgc_Run&commat;&commat;Base+0x164&gt;</pre>
<pre>    3550:	e59f1144 	ldr	r1, [pc, #324]	; 369c &lt;IaaAgc_Run&commat;&commat;Base+0x410&gt;</pre>
<pre>    3554:	e596cb5c 	ldr	ip, [r6, #2908]	; 0xb5c</pre>
<pre>    3558:	e08f1001 	add	r1, pc, r1</pre>
<pre>    355c:	e1a0c42c 	lsr	ip, ip, #8</pre>
<pre>    3560:	e1d100f4 	ldrsh	r0, [r1, #4]</pre>
<pre>    3564:	e15c0000 	cmp	ip, r0</pre>
<pre>    3568:	ca000012 	bgt	35b8 &lt;IaaAgc_Run&commat;&commat;Base+0x32c&gt;</pre>
<pre>    356c:	e2810fa1 	add	r0, r1, #644	; 0x284</pre>
<pre>    3570:	e1d000f0 	ldrsh	r0, [r0]</pre>
<pre>--</pre>
<pre><span class="red">    7fa0:	ebffe363 	bl	d34 &lt</span>ap&commat;plt&gt</span></span></pre>
<pre>    7fa4:	e3700001 	cmn	r0, #1</pre>
<pre>    7fa8:	0a00003b 	beq	809c &lt;IaaApc_GetVadOut&commat;&commat;Base+0x780&gt;</pre>
<pre>    7fac:	e59d1018 	ldr	r1, [sp, #24]</pre>
<pre>    7fb0:	e2803b0f 	add	r3, r0, #15360	; 0x3c00</pre>
<pre>    7fb4:	e1d360b0 	ldrh	r6, [r3]</pre>
<pre>    7fb8:	ebffe32d 	bl	c74 &lt</span>unmap&commat;plt&gt;</pre>
<pre>    7fbc:	e1a00008 	mov	r0, r8</pre>
<pre>    7fc0:	ebffe343 	bl	cd4 &lt;close&commat;plt&gt;</pre>
<pre>    7fc4:	e1a00007 	mov	r0, r7</pre>
<pre>    7fc8:	ebffe341 	bl	cd4 &lt;close&commat;plt&gt;</pre>
<pre>    7fcc:	e35600f2 	cmp	r6, #242	; 0xf2</pre>
<pre>    7fd0:	1a000013 	bne	8024 &lt;IaaApc_GetVadOut&commat;&commat;Base+0x708&gt;</pre>
<pre>    7fd4:	e3a04001 	mov	r4, #1</pre>
<pre>    7fd8:	e5854004 	str	r4, [r5, #4]</pre>
<pre>    7fdc:	e59f30f4 	ldr	r3, [pc, #244]	; 80d8 &lt;IaaApc_GetVadOut&commat;&commat;Base+0x7bc&gt;</pre>
<pre>    7fe0:	e3a02001 	mov	r2, #1</pre>
<pre>    7fe4:	e1a00004 	mov	r0, r4</pre>
<pre>    7fe8:	e08f3003 	add	r3, pc, r3</pre>
<pre>    7fec:	e5832000 	str	r2, [r3]</pre>
<pre>    7ff0:	e28dd020 	add	sp, sp, #32</pre>
<pre>--</pre>
<pre><span class="red">    8198:	ebffe2e5 	bl	d34 &lt</span>ap&commat;plt&gt</span></span></pre>
<pre>    819c:	e3700001 	cmn	r0, #1</pre>
<pre>    81a0:	0a000036 	beq	8280 &lt;IaaApc_GetVadOut&commat;&commat;Base+0x964&gt;</pre>
<pre>    81a4:	e59d1018 	ldr	r1, [sp, #24]</pre>
<pre>    81a8:	e2803b0f 	add	r3, r0, #15360	; 0x3c00</pre>
<pre>    81ac:	e1d340b0 	ldrh	r4, [r3]</pre>
<pre>    81b0:	ebffe2af 	bl	c74 &lt</span>unmap&commat;plt&gt;</pre>
<pre>    81b4:	e1a00006 	mov	r0, r6</pre>
<pre>    81b8:	ebffe2c5 	bl	cd4 &lt;close&commat;plt&gt;</pre>
<pre>    81bc:	e1a00005 	mov	r0, r5</pre>
<pre>    81c0:	ebffe2c3 	bl	cd4 &lt;close&commat;plt&gt;</pre>
<pre>    81c4:	e3030050 	movw	r0, #12368	; 0x3050</pre>
<pre>    81c8:	e3031050 	movw	r1, #12368	; 0x3050</pre>
<pre>    81cc:	e3430050 	movt	r0, #12368	; 0x3050</pre>
<pre>    81d0:	e3431050 	movt	r1, #12368	; 0x3050</pre>
<pre>    81d4:	e0900004 	adds	r0, r0, r4</pre>
<pre>    81d8:	e2a11000 	adc	r1, r1, #0</pre>
<pre>    81dc:	e28dd020 	add	sp, sp, #32</pre>
<pre>    81e0:	e8bd8070 	pop	{r4, r5, r6, pc}</pre>
<pre>    81e4:	e59f00c8 	ldr	r0, [pc, #200]	; 82b4 &lt;IaaApc_GetVadOut&commat;&commat;Base+0x998&gt;</pre>
<pre>    81e8:	e59f10c8 	ldr	r1, [pc, #200]	; 82b8 &lt;IaaApc_GetVadOut&commat;&commat;Base+0x99c&gt;</pre>
<br />
<pre></span></pre>
<pre>[</span><span class="orange">*</span>] Function </span><span class="orange">mmap</span> used </span><span class="orange">5</span> times </span><span class="orange">libAPC_LINUX.so</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>