HackDonalds Challenge Writeup

Table of Contents

Description:

The challenge was solved by chaining an authentication bypass with an XXE vulnerability. By adding the HTTP header X-Middleware-Subrequest: middleware, the application mistakenly granted access to restricted admin functionality without proper authentication. This allowed interaction with sensitive internal features that would normally require admin privileges. Using this access, an XML External Entity (XXE) payload was submitted to an XML-processing endpoint. The XXE payload was crafted to read the file package.json from the application’s current working directory via the symbolic path /proc/self/cwd/package.json. This file contained the challenge flag, confirming that both the authentication bypass and XXE were successfully exploited.

POC:

  1. I have bypass the login with this header X-Middleware-Subrequest: middleware directly access into admin

2. Click on Ice Cream Machines then click on view settings

3. i have used this payload in the XML Configuration Settings

4. Finally grab the flag

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE foo [
  <!ENTITY xxe SYSTEM "file:///proc/self/cwd/package.json">
]>
<stockCheck><productId>&xxe;</productId></stockCheck>

Flag :

INTIGRITI{XXE_Redacted_M4ch1n3s}

Reference :

  1. https://app.intigriti.com/researcher/programs/intigriti/challenge-hackdonalds/detail
  2. https://nagasaikiran.com/middleware-mishap-a-deep-dive-into-next-js-cve-2025-29927/

49 thoughts on “HackDonalds Challenge Writeup”

  1. Hi there! This post couldn’t be written any better!
    Going through this post reminds me of my previous roommate!
    He continually kept talking about this. I am going to send this information to him.
    Pretty sure he will have a great read. Many thanks for sharing!

  2. Greetings from Idaho! I’m bored to death at work so I
    decided to browse your website on my iphone
    during lunch break. I love the information you provide here and can’t
    wait to take a look when I get home. I’m amazed at how quick your blog loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyways, wonderful blog!

  3. [7261]123loterias Login Oficial | Mejores Slots y Depósitos OXXO,Accede a 123loterias para disfrutar las mejores slots y ruleta online. Descarga la APK oficial y realiza tus depósitos con OXXO de forma fácil. ¡Regístrate hoy! visit: 123loterias

  4. Hey just wanted to give you a quick heads up. The text in your post
    seem to be running off the screen in Chrome. I’m not
    sure if this is a format issue or something to do with web browser compatibility
    but I figured I’d post to let you know. The design and
    style look great though! Hope you get the issue resolved soon. Thanks

  5. Hi outstanding blog! Does running a blog like this require a large amount of work?
    I’ve absolutely no understanding of coding but I was hoping to start my own blog
    soon. Anyway, if you have any recommendations or tips for new
    blog owners please share. I know this is off topic but I just needed
    to ask. Thank you!

  6. Pingback: iphone duo photos

  7. Magnificent goods from you, man. I’ve understand your stuff previous to and you’re just
    too excellent. I actually like what you’ve acquired here, really like what you’re stating
    and the way in which you say it. You make it
    enjoyable and you still care for to keep it wise.
    I can not wait to read much more from you. This is really a tremendous site.

  8. [5544]r6r6: Link Alternatif Daftar Akun Slot Gacor Dana,r6r6 menyediakan link alternatif resmi untuk daftar akun, slot gacor dana tanpa potongan, dan download apk casino terpercaya. Yuk, gabung dan main sekarang! visit: r6r6

  9. Sell your home without delay with DealMate, a reliable marketplace that matches homeowners with verified property buyers across
    the United States. Review fair proposals to find
    the right option for your property. Forget about expensive fix-ups, broker
    fees, and lengthy home-selling processes. Whether
    your home needs repairs, you are facing a tight deadline, or you simply want a convenient sale, DealMate helps
    make selling your property simple. Choose an offer that works for you and close on your preferred schedule https://sellwithdealmate.com/

  10. [7298]khelostar247 লগইন এবং অ্যাপ ডাউনলোড | সেরা অনলাইন স্লট গেম,khelostar247 login করুন এবং অ্যাপ ডাউনলোড করে লাইভ ক্যাসিনো খেলার নিয়ম জানুন। বিকাশ দিয়ে অনলাইন ক্যাসিনো ডিপোজিট করে আজই গেম শুরু করুন। visit: khelostar247

  11. Hey very nice website!! Man .. Excellent ..
    Superb .. I’ll bookmark your site and take the feeds also?
    I’m happy to seek out a lot of useful info here
    within the submit, we’d like develop more techniques on this regard,
    thanks for sharing. . . . . .

  12. [383]Betika লগইন এবং অ্যাপ ডাউনলোড | বিকাশ ক্যাসিনো গেম,betika লগইন করার নিয়ম জানুন এবং অ্যাপ ডাউনলোড করে লাইভ ক্যাসিনো বোনাস অফার উপভোগ করুন। বিকাশ দিয়ে ক্যাসিনো গেম খেলতে আজই জয়েন করুন। visit: betika

  13. [7073]Okaybet Login Philippines | Legit Slots at GCash App,Mag-okaybet login philippines na para sa legit online slots gcash. I-download ang APK para sa mabilis na access sa game lobby. Mag-register na ngayon! visit: okaybet

  14. Legit And Real Love Spell Casters To Get Back My Ex Lover, Husband, Wife, Boyfriend, Girlfriend Fast Call +27785299482 :- How a Powerful Love Spell Caster Helped Me Get My Partner Back Instantly – How I Reconciled With My Partner Using A Love Spell That Already Worked For Millions of People World Wide – How Online Love Spell Casters Are Changing Lives in USA , Canada And Australia – How I Saved my broken/separated Marriage from divorce with a love spell – How I Found a powerful love spell service now excellently Reviewed – How I hired a psychic for instant love spell that Worked Same Day – How I bought fast love spell online that Worked Same Day – The One Love Spell That Made Him Text Me Back (Within Hours) I Was Surprised – I Tried an “Ex Back Love Spell” Online and Got Perfect Results – Love Spells That Bring Your Lover Back (That Really Work) I was Shocked – The Best Love Spell Caster With Excellent Reviews Worldwide .
    My Personal Testimony About The Best Psychic Love Spell Caster Professor Husam Lakota: My Love and Relationship Journey ❤️ My name is Terry Winans Sasha, and I am from Salt Lake City Utah. Today, I want to share my personal experience with Husam Lakota and express my gratitude for the support and guidance I received during one of the most emotional periods of my love life. When my relationship with my ex came to an end, I was heartbroken. I still loved him deeply and hoped that one day we might find our way back to each other. Like many people experiencing heartbreak, I wanted another chance at love but did not know what the future held. That was when I connected with Husam Lakota, known for his spiritual services and love spell work. I was looking for hope, guidance, and a way to navigate my relationship difficulties. My experience became an important part of my personal journey. Eventually, my ex and I reconnected, bringing renewed hope and happiness into my life. ❤️ I am grateful for the encouragement I received during this time and for the opportunity to explore the possibility of rebuilding our relationship. I am sharing my story because I know how painful it can be to miss someone you love and wish for a second chance. My experience with Husam Lakota is a meaningful chapter in my relationship journey, and I wanted to express my appreciation publicly. If you are researching Husam Lakota reviews, Husam Lakota testimonials, love spell casters, or spiritual guidance for relationship reconciliation, I encourage you to research carefully, ask questions, and make decisions that feel right for your circumstances. I Am Sharing My Story Such That You May Know How a Powerful Genuine Love spell Caster Known as Professor Husam Lakota Helped Me Get My Ex Back I Was on Frantic Searches Like “how to get back with your ex” – “how to get back with ex” – “how to get back my ex” – “how to get back with my ex” – “how to get my ex back” – “get ex back” – “how to win your ex back” – get my ex back – get my ex back spell – love spells – love spell caster – get ex back spells – love specialist – love psychic -psychic love reading – psychic to get my ex back – spell to get my ex back – bring my ex back -bring back my ex spell – reconciliation spell – reconciliation spell caster – lost lover spell – return lost lover spell – powerful love spells – love spell caster near me – psychic near me – best psychic for love I need help getting my ex back can a love spell caster help me get my ex back need a love spell caster urgently best affordable spell caster for lost love love spell caster available for consultation today how much does a love spell caster charge real love spell caster reviews and experiences trusted spell caster for relationship reconciliation love spell consultation near me today legitimate psychic and spiritual healer for love problems love spell caster Find and hire a spell practitioner. Professional love spell services. spell caster to bring my ex back love spells to get your ex back psychic love reading online professional spell caster online clairvoyant reading online love spell caster near me psychic to get my ex back Find a psychic for a relationship-related consultation. buy love spells online love spell caster for lost love Your story matters. Your intentions matter. Let’s begin your journey. For consultation messages via Call +27785299482 . Thank you, Husam Lakota, for the support and guidance you provided during my journey. I am sharing this testimony with gratitude and happiness. Written by Terry Winans Sasha Salt Lake City Utah , USA ❤️ . California , New York , London , Sydney , Melbourne , New York , Quebec , Salt Lake City , Canada , USA , Australia , Singapore , London UK Are Also Places I Call Home.
    I need help getting my ex back

  15. [1224]qq1212: Login Daftar Apk Slot Gacor Deposit Dana,qq1212 menyediakan login mudah dan daftar qq1212 apk untuk akses slot gacor dana 5000 serta situs casino deposit pulsa. Ayo gabung dan main sekarang! visit: qq1212

  16. Hey There. I discovered your blog using msn. That is an extremely
    well written article. I’ll make sure to bookmark it and come back to read more of your useful info.

    Thank you for the post. I’ll certainly return.

  17. I think this is among the most significant information for me.
    And i’m glad reading your article. But wanna remark
    on few general things, The website style is perfect, the articles is
    really great : D. Good job, cheers

  18. [8534]boydgaming লগইন এবং অ্যাপ ডাউনলোড | সেরা অনলাইন স্লট গেম,boydgaming login করার নিয়ম জানুন এবং অ্যাপ ডাউনলোড করুন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট করে লাইভ ক্যাসিনো খেলার নিয়ম শিখে আজই শুরু করুন। visit: boydgaming

  19. Hi! I know this is kinda off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having trouble finding one?
    Thanks a lot!

  20. [4633]NinoGaming: Login, Register & Download App for Online Slots & Bonuses,Experience the thrill of online slots and casino games at NinoGaming. Register today to claim exclusive bonuses, download our app for seamless mobile play, and login to start winning in the Philippines’ premier gaming hub. visit: ninogaming

  21. I realy like yyour blog.. very nice colorfs & theme. Did you make this webbsite
    yourself or didd you hire someone to ddo it for you?
    Plz reply as I’m lloking to create my ownn blog andd would liike to know wheee u gott this from.
    many thanks xnxx

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top