Exploit database

GH-67cfe9274a84b2ab15965e26c8740df4

ctlyz123/cve-2020-17496

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-17496

4 sources

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

Repository files102
ctlyz123/cve-2020-17496Revision d621d414aa56
Next files →

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

html/js/signup-rollup-560.js

JavaScript · 11,554 bytes
// ***************************
// js.compressed/password.js
// ***************************
/*=======================================================================*\
|| ###################################################################### ||
|| # vBulletin 5.6.0
|| # ------------------------------------------------------------------ # ||
|| # Copyright 2000-2020 MH Sub I, LLC dba vBulletin. All Rights Reserved.  # ||
|| # This file may not be redistributed in whole or significant part.   # ||
|| # ----------------- VBULLETIN IS NOT FREE SOFTWARE ----------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html   # ||
|| ###################################################################### ||
\*========================================================================*/
window.vBulletin=window.vBulletin||{};window.vBulletin.phrase=window.vBulletin.phrase||{};window.vBulletin.phrase.precache=window.vBulletin.phrase.precache||[];window.vBulletin.phrase.precache=$.merge(window.vBulletin.phrase.precache,["error","password_needs_numbers","password_needs_special_chars","password_needs_uppercase","password_too_short","passwords_must_match",]);window.vBulletin.options=window.vBulletin.options||{};window.vBulletin.options.precache=window.vBulletin.options.precache||[];window.vBulletin.options.precache=$.merge(window.vBulletin.options.precache,["passwordminlength","passwordrequirenumbers","passwordrequirespecialchars","passwordrequireuppercase",]);(function(C){function B(E,D){vBulletin.error("error",E,function(){D.focus()})}function A(F,H){var D=F.val();if(D.length<vBulletin.options.get("passwordminlength")){B("password_too_short",F);return false}if(vBulletin.options.get("passwordrequireuppercase")&&!D.match(/[A-Z]/)){B("password_needs_uppercase",F);return false}if(vBulletin.options.get("passwordrequirenumbers")&&!D.match(/[0-9]/)){B("password_needs_numbers",F);return false}if(vBulletin.options.get("passwordrequirespecialchars")){var E=vBulletin.regexEscape(" !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"),G=new RegExp("["+E+"]");if(!D.match(G)){B("password_needs_special_chars",F);return false}}if(H&&H.val&&D!=H.val()){B("passwords_must_match",H);return false}return true}window.vBulletin.checkPassword=A})(jQuery);;

// ***************************
// js.compressed/signup.js
// ***************************
/*=======================================================================*\
|| ###################################################################### ||
|| # vBulletin 5.6.0
|| # ------------------------------------------------------------------ # ||
|| # Copyright 2000-2020 MH Sub I, LLC dba vBulletin. All Rights Reserved.  # ||
|| # This file may not be redistributed in whole or significant part.   # ||
|| # ----------------- VBULLETIN IS NOT FREE SOFTWARE ----------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html   # ||
|| ###################################################################### ||
\*========================================================================*/
window.vBulletin=window.vBulletin||{};window.vBulletin.phrase=window.vBulletin.phrase||{};window.vBulletin.phrase.precache=window.vBulletin.phrase.precache||[];window.vBulletin.phrase.precache=$.merge(window.vBulletin.phrase.precache,["close","email_addresses_must_match","error","invalid_email_address","moderateuser","paid_subscription_required","paid_subscriptions","please_enter_a_username","please_enter_your_email_address","please_enter_your_parent_or_guardians_email_address","please_select_a_day","please_select_a_month","please_select_a_year","register_not_agreed","registeremail","registration_complete","registration_coppa_fail","registration_gregister","registration_start_failed","site_terms_and_rules","site_terms_and_rules_title"]);window.vBulletin.options=window.vBulletin.options||{};window.vBulletin.options.precache=window.vBulletin.options.precache||[];window.vBulletin.options.precache=$.merge(window.vBulletin.options.precache,["checkcoppa","regrequirepaidsub","reqbirthday","usecoppa","webmasteremail"]);(function(A){var B=[".registration-widget"];if(!vBulletin.pageHasSelectors(B)){return false}A(document).ready(function(){var K=parseInt(window.vBulletin.options.get("usecoppa")),I=false,E=false,D=parseInt(window.vBulletin.options.get("reqbirthday")),P=parseInt(window.vBulletin.options.get("regrequirepaidsub")),M,F,O,L;function J(){A("#frmRegister").trigger("reset");setTimeout(vBulletin.hv.reset,0);if(K||D){var W=A.cookie(pageData.cookie_prefix+"coppaage"),T,Q,R,V=false;if(K&&W&&parseInt(vBulletin.options.get("checkcoppa"))){var U=W.split("-",3);if(U.length==3){T=parseInt(U[0]);Q=parseInt(U[1]);R=parseInt(U[2]);if(T!=0&&Q!=0&&R!=0){V=true;A("#regMonth").val(T);A("#regDay").val(Q);A("#regYear").val(R)}H(T,Q,R,V,true)}}else{A(".signup-content").removeClass("h-hide")}A("#regMonth, #regDay, #regYear").off("change").on("change",function(){T=A("#regMonth").val();Q=A("#regDay").val();R=A("#regYear").val();H(T,Q,R,V)})}else{A(".signup-content").removeClass("h-hide")}A(".registration-widget select").selectBox();A("#regDataUsername").off("keydown blur").on("keydown",function(X){if(X.keyCode==13){A(this).triggerHandler("blur")}return true}).on("blur",function(){if(A.trim(this.value)==""){return true}E=true;var X=this;vBulletin.AJAX({call:"/registration/checkusername",data:{username:A.trim(X.value)},success:function(Y){},complete:function(){E=false},after_error:function(){X.value="";X.select();X.focus()}})});A("#viewTerms").off("click").on("click",function(){openAlertDialog({title:vBulletin.phrase.get("site_terms_and_rules_title"),message:vBulletin.phrase.get("site_terms_and_rules",vBulletin.options.get("webmasteremail"),pageData.baseurl),buttonLabel:vBulletin.phrase.get("close"),width:600,maxHeight:400});return false});var S=A(".paidsubscription_row");if(S.length>0){A("select.cost",S).change(function(){var c=A(this).closest(".newsubscription_row"),a=A(this).find("option:selected").first(),Z=A(this).closest(".subscriptions_list"),Y=A(".order_confirm",S),b=A(".payment-form",S),X=c.data("allowedapis");M=c.data("id");F=a.data("subid");L=a.data("currency");A('<tr class="confirm_data"><td>'+a.data("subtitle")+"</td><td>"+a.data("duration")+"</td><td>"+a.data("value")+"</td></tr>").appendTo(A(".order_confirm_table",Y));Z.addClass("h-hide");Y.off("click",".remove_subscription").on("click",".remove_subscription",function(){A(".confirm_data",Y).remove();A("input.paymentapi",Y).closest("label").removeClass("h-hide");A(".subscriptions-order",Y).prop("disabled",false);A("select.cost",Z).selectBox("value","");Y.addClass("h-hide");Z.removeClass("h-hide");M=0;return false});Y.off("click","input.paymentapi").on("click","input.paymentapi",function(){O=A("input.paymentapi:checked",Y).val()});A("input.paymentapi",Y).each(function(){var e=A(this),d=e.data("currency").split(",");if(A.inArray(L,d)==-1||A.inArray(e.val(),X)==-1){e.closest("label").addClass("h-hide")}});Y.removeClass("h-hide")})}}function H(T,Q,S,U,R){R=R||false;if(T!=0&&Q!=0&&S!=0){if(U){A(".birth-date-wrapper").addClass("h-hide")}vBulletin.AJAX({call:"/registration/iscoppa",data:{month:T,day:Q,year:S},success:function(Y){if(Y&&typeof (Y.needcoppa)!="undefined"){I=Y.needcoppa!=0;var X=A(".birth-date-wrapper"),W=A(".signup-content");if(Y.needcoppa==2){if(!U){vBulletin.error("error","registration_coppa_fail");X.addClass("h-hide")}W.addClass("h-hide");A(".coppafail_notice").removeClass("h-hide");return }else{var Z=A(".js-registration__paidsubscription"),V=((Y.needcoppa==1)||(!R)),a=(Y.needcoppa==1);if(R&&U&&!V){A("#regMonth").val(0);A("#regDay").val(0);A("#regYear").val(0)}X.toggleClass("h-hide",V);W.removeClass("h-hide");Z.toggleClass("h-hide-imp",a);Z.find("select,input").prop("disabled",a);if(V){A("#regContent").removeClass("h-hide");A("#frmRegister .js-button-group").removeClass("h-hide")}else{A(".registration-widget select").selectBox()}}}A(".coppa")[I?"removeClass":"addClass"]("h-hide-imp")},error_phrase:"registration_start_failed"})}}J();function G(Q,R){if(Q){vBulletin.warning("error",Q,function(){R.focus()});return false}return true}function N(){var V;if(K){V={"#regMonth":"please_select_a_month","#regDay":"please_select_a_day","#regYear":"please_select_a_year",};for(var S in V){if(A(S).val()==0){return G(V[S],A(S).next(".selectBox"))}}}var U=function(a,b,Z,e,W,d){var c=A(a);if(c.length){var Y=c.val();if(A.trim(Y)==""){return G(b,c)}if(Z&&!Z(Y)){return G(e,c)}if(W){var X=A(W);if(X.length&&Y!=X.val()){return G(d,X)}}}return true};V=[["#regDataUsername","please_enter_a_username"],["#regDataEmail","please_enter_your_email_address",isValidEmailAddress,"invalid_email_address","#regDataEmailConfirm","email_addresses_must_match"]];if(I){V.push(["#parentGuardianEmail","please_enter_your_parent_or_guardians_email_address",isValidEmailAddress,"invalid_email_address"])}for(var R=0;R<V.length;R++){if(!U.apply(window,V[R])){return false}}if(!vBulletin.checkPassword(A("#regDataPassword"),A("#regDataConfirmpassword"))){return false}var Q="",T;if(!A("#cbApproveTerms").is(":checked")){Q="register_not_agreed";T=A("#cbApproveTerms")}if(P&&!M){Q="paid_subscription_required";T=A(".cost")}if(M&&!O){Q="please_select_a_payment_method";T=A("input.paymentapi").first()}return G(Q,T)}function C(){var Q=this;console.log("Paid Subscriptions Data: subscriptionid: "+M+"; subscriptionsubid: "+F+"; paymentapiclass: "+O+"; currency: "+L);if(!N()){return false}A(".js-button-group .js-button",Q).prop("disabled",true);var R=A(Q).serializeArray();R.push({name:"eustatus",value:pageData.eustatus});vBulletin.AJAX({call:"/registration/registration",data:R,success:function(S){if(S.usecoppa){location.replace(S.urlPath)}else{if(S.newtoken&&S.newtoken!="guest"){vBulletin.doReplaceSecurityToken(S.newtoken)}var T=function(){vBulletin.alert("registration_gregister",S.msg,null,function(){if(S.urlPath){location.replace(S.urlPath)}else{A(".signup-success").removeClass("h-hide");A(".signup-content").addClass("h-hide")}})};if(!M){T()}else{var U=openConfirmDialog({title:vBulletin.phrase.get("paid_subscriptions"),message:vBulletin.phrase.get("loading")+"...",width:500,dialogClass:"paidsubscription-dialog loading",buttonLabel:{yesLabel:vBulletin.phrase.get("order"),noLabel:vBulletin.phrase.get("cancel")},onClickYesWithAjax:true,onClickYes:function(){A(this).closest(".paidsubscription-dialog").find("form").submit()},onClickNo:function(){if(P){vBulletin.warning("error","paid_subscription_required",function(){U.dialog("open")})}else{T()}}});vBulletin.AJAX({call:"/ajax/api/paidsubscription/placeorder",data:{subscriptionid:M,subscriptionsubid:F,paymentapiclass:O,currency:L},complete:function(){A("body").css("cursor","auto")},success:function(V){A(".paidsubscription-dialog").removeClass("loading");A(".dialog-content .message",U).html(V);A('.dialog-content .message input[type="submit"], .dialog-content .message .js-subscription__cancel',U).hide();U.dialog("option","position",{of:window})},error_message:"error_payment_form"})}}},api_error:vBulletin.hv.resetOnError,error_phrase:"registration_start_failed",complete:function(){A(".js-button-group .js-button",Q).prop("disabled",false)}})}A("#frmRegister").off("submit.usersignup").on("submit.usersignup",function(){var Q=this;setTimeout(function(){if(E){return }C.apply(Q)},10);return false});A("#regBtnReset").off("click").on("click",function(Q){vBulletin.hv.reset();setTimeout(function(){A(".registration-widget select").selectBox("refresh");A("#regMonth").next(".selectBox").focus()},50)})})})(jQuery);;