דוח הערכת אבטחה

OWASP crAPI

כתובת
http://localhost:8888
סוג
API-centric App
תאריך סריקה
2026-11-13
סוג סריקה
Baseline פסיבי

ניתוח ותעדוף

Claude — שכבת ניתוח (דמו)
14
ממצאים גולמיים
3
בעיות ייחודיות
2
לפעולה

הסריקה העלתה 14 ממצאים גולמיים, בהם שלושה סומנו 'חומרה גבוהה' — אך כולם מצביעים על אותה בעיה: קובץ תצורה (.env) שעשוי להיות חשוף. לאחר איחוד, זוהו 3 בעיות ייחודיות: חשיפת .env (לאימות דחוף), חיזוק כותרות אבטחה, וחשיפת מידע גרסה. מכיוון ש-crAPI הוא יישום מבוסס-API, חולשות הליבה שלו (BOLA/IDOR והרשאות) מחייבות בדיקה אקטיבית ומאומתת שלא בוצעה בסריקה זו.

לא נבדקBOLA/IDOR, בקרת הרשאות ברמת האובייקט, וזרימות API מאומתות — לא נבדקו בסריקה פסיבית זו.
01

חשיפת קובץ תצורה (.env)

גבוההטרם אומת
אוחד מ-3 ממצאיםNucleiסיכון FP: בינוני
ניתוח

שלוש תבניות סריקה שונות (Codeigniter / Generic / Laravel) התאימו לאותה נקודת קצה — /.env. מדובר אפוא בבעיה אחת ולא בשלוש. קובץ .env עלול להכיל סודות (מפתחות, סיסמאות, מחרוזות חיבור), ולכן זו הבעיה בעלת הפוטנציאל החמור ביותר. עם זאת, ריבוי התבניות שהתאימו מעלה חשד להתאמה גנרית — ולכן חובה לאמת שהקובץ אכן קיים ומכיל סודות אמיתיים.

המלצה

אם הקובץ חשוף — להסירו מהשורש הציבורי מיידית, לסובב (rotate) כל סוד שנחשף, ולחסום גישה לקבצי תצורה ברמת השרת.

לאימות אנושי

לגשת ידנית ל-/.env ולוודא שהתוכן אמיתי ומכיל סודות — ולא דף שגיאה או התאמה גנרית.

02

חוסר בכותרות אבטחה (הגנה-לעומק)

בינוניתטרם אומת
אוחד מ-8 ממצאיםZAPסיכון FP: נמוך
ניתוח

אוחדו 8 ממצאים לנושא אחד: חוסר בכותרות אבטחה (CSP, Anti-clickjacking, X-Content-Type-Options, CORP/COEP/COOP, Permissions-Policy). רלוונטי במיוחד ל-API המגיש גם תוכן, כהגנה-לעומק מפני ניצול חולשות אחרות.

המלצה

להוסיף סט כותרות אבטחה ברמת ה-gateway/שרת, ולהתאימו לאופי של יישום API.

לאימות אנושי

זיהוי אמין. לוודא התאמה לצרכני ה-API הלגיטימיים.

03

חשיפת גרסת שרת ומידע

נמוכהטרם אומת
אוחד מ-3 ממצאיםZAPסיכון FP: בינוני
ניתוח

השרת חושף מידע גרסה בכותרות ו-timestamps. ערך נמוך, אך מסייע לתוקף במיפוי ובחיפוש חולשות גרסה ידועות.

המלצה

להסתיר כותרות גרסה (Server) ולצמצם חשיפת מידע טכני מיותר.

לאימות אנושי

לוודא שהכותרות אינן נדרשות על ידי צרכנים לגיטימיים.

נספח · ממצאים גולמיים(14)הצגה
14
ממצאים
חומרה גבוהה3
חומרה בינונית2
חומרה נמוכה7
חומרה מידע2
ZAP · zap-stable (baseline/passive)Nuclei · v3.11.1

חומרה גבוהה

(3)
גבוהה
Codeigniter - .env File Discovery
F-001/Sensitive Data Exposure/CWE-552
Nucleiטרם אומת
תיאור

Codeigniter .env file was discovered.

ראיות
  • http://localhost:8888/.env
ראיה ויזואלית
גבוהה
Generic Env File Disclosure
F-002/Sensitive Data Exposure/CWE-552
Nucleiטרם אומת
תיאור

A .env file was discovered containing sensitive information like database credentials and tokens. It should not be publicly accessible.

ראיות
  • http://localhost:8888/.env
ראיה ויזואלית
גבוהה
Laravel - Sensitive Information Disclosure
F-003/Information Disclosure/CWE-522
Nucleiטרם אומת
תיאור

A Laravel .env file was discovered, which stores sensitive information like database credentials and tokens. It should not be publicly accessible.

ראיות
  • http://localhost:8888/.env
ראיה ויזואלית

חומרה בינונית

(2)
בינונית
Content Security Policy (CSP) Header Not Set×2
F-004/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/sitemap.xml
ראיה ויזואלית
המלצת תיקון

Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header.

בינונית
Missing Anti-clickjacking Header
F-005/Security Headers / Config/CWE-1021
ZAPטרם אומת
תיאור

The response does not protect against 'ClickJacking' attacks. It should include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options.

ראיות
  • GET http://localhost:8888
ראיה ויזואלית
המלצת תיקון

Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app. If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

חומרה נמוכה

(7)
נמוכה
Cross-Origin-Embedder-Policy Header Missing or Invalid
F-006/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

Cross-Origin-Embedder-Policy header is a response header that prevents a document from loading any cross-origin resources that don't explicitly grant the document permission (using CORP or CORS).

ראיות
  • GET http://localhost:8888
ראיה ויזואלית
המלצת תיקון

Ensure that the application/web server sets the Cross-Origin-Embedder-Policy header appropriately, and that it sets the Cross-Origin-Embedder-Policy header to 'require-corp' for documents. If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Embedder-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-embedder-policy).

נמוכה
Cross-Origin-Opener-Policy Header Missing or Invalid
F-007/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

Cross-Origin-Opener-Policy header is a response header that allows a site to control if others included documents share the same browsing context. Sharing the same browsing context with untrusted documents might lead to data leak.

ראיות
  • GET http://localhost:8888
ראיה ויזואלית
המלצת תיקון

Ensure that the application/web server sets the Cross-Origin-Opener-Policy header appropriately, and that it sets the Cross-Origin-Opener-Policy header to 'same-origin' for documents. 'same-origin-allow-popups' is considered as less secured and should be avoided. If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Opener-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-opener-policy).

נמוכה
Cross-Origin-Resource-Policy Header Missing or Invalid×5
F-008/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

Cross-Origin-Resource-Policy header is an opt-in header designed to counter side-channels attacks like Spectre. Resource should be specifically set as shareable amongst different origins.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/images/favicon.ico
  • GET http://localhost:8888/images/logo192.png
  • GET http://localhost:8888/manifest.json
  • GET http://localhost:8888/robots.txt
ראיה ויזואלית
המלצת תיקון

Ensure that the application/web server sets the Cross-Origin-Resource-Policy header appropriately, and that it sets the Cross-Origin-Resource-Policy header to 'same-origin' for all web pages. 'same-site' is considered as less secured and should be avoided. If resources must be shared, set the header to 'cross-origin'. If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Resource-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-resource-policy).

נמוכה
Permissions Policy Header Not Set×3
F-009/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

Permissions Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Permissions Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/sitemap.xml
  • GET http://localhost:8888/static/js/main.8c78208c.js
ראיה ויזואלית
המלצת תיקון

Ensure that your web server, application server, load balancer, etc. is configured to set the Permissions-Policy header.

נמוכה
Server Leaks Version Information via "Server" HTTP Response Header Field×5
F-010/Security Headers / Config/CWE-497
ZAPטרם אומת
תיאור

The web/application server is leaking version information via the "Server" HTTP response header. Access to such information may facilitate attackers identifying other vulnerabilities your web/application server is subject to.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/images/logo192.png
  • GET http://localhost:8888/manifest.json
  • GET http://localhost:8888/robots.txt
  • GET http://localhost:8888/sitemap.xml
ראיה ויזואלית
המלצת תיקון

Ensure that your web server, application server, load balancer, etc. is configured to suppress the "Server" header or provide generic details.

נמוכה
Timestamp Disclosure - Unix×2
F-011/Information Disclosure/CWE-497
ZAPטרם אומת
תיאור

A timestamp was disclosed by the application/web server. - Unix

ראיות
  • GET http://localhost:8888/static/js/main.8c78208c.js
  • GET http://localhost:8888/static/js/main.8c78208c.js
ראיה ויזואלית
המלצת תיקון

Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.

נמוכה
X-Content-Type-Options Header Missing×5
F-012/Security Headers / Config/CWE-693
ZAPטרם אומת
תיאור

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/images/favicon.ico
  • GET http://localhost:8888/images/logo192.png
  • GET http://localhost:8888/manifest.json
  • GET http://localhost:8888/robots.txt
ראיה ויזואלית
המלצת תיקון

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages. If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

חומרה מידע

(2)
מידע
Modern Web Application
F-013/Other/CWE--1
ZAPטרם אומת
תיאור

The application appears to be a modern web application. If you need to explore it automatically then the Client Spider may well be more effective than the standard one.

ראיות
  • GET http://localhost:8888
ראיה ויזואלית
המלצת תיקון

This is an informational alert and so no changes are required.

מידע
Storable and Cacheable Content×5
F-014/Other/CWE-524
ZAPטרם אומת
תיאור

The response contents are storable by caching components such as proxy servers, and may be retrieved directly from the cache, rather than from the origin server by the caching servers, in response to similar requests from other users. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where "shared" caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.

ראיות
  • GET http://localhost:8888
  • GET http://localhost:8888/images/logo192.png
  • GET http://localhost:8888/manifest.json
  • GET http://localhost:8888/robots.txt
  • GET http://localhost:8888/sitemap.xml
ראיה ויזואלית
המלצת תיקון

Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user: Cache-Control: no-cache, no-store, must-revalidate, private Pragma: no-cache Expires: 0 This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.