# 2.1.936 - Security Patch

**URL:** <https://forum.phpvms.net/t/2-1-936-security-patch/8531>\
**Category:** Announcements\
**Created:** [September 30, 2013, 5:18pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531 "2013-09-30T17:18:36Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [September 30, 2013, 5:18pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/1 "2013-09-30T17:18:36Z")

</div>

Hi all,

I’ve updated the download to 2.1.936 - basically to null the file where I believe the exploit is coming from. I looked through the other files, and I think they look OK.

Please update as soon as possible - really the only updated file was **core/lib/php-ofc-library/ofc\_upload\_image.php**. Instead of deleting it, I patched it, so then it will get patched on an upload.

Sorry for all the trouble guys! Please be sure to look through your server and account very carefully - if you see something suspicious, delete it, or rename it to add a .txt extension so it can’t be found, until you can verify if the file is safe or not.

Thanks!

---

<div class="post-metadata">

**Author:** ![ARV187](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/439d5e/32.png) [@ARV187](https://forum.phpvms.net/u/ARV187)\
**Post date:** [October 1, 2013, 1:21pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/2 "2013-10-01T13:21:30Z")

</div>

Hi Nabeel,

I’m a little confused, the latest changelog.htm file says **Version 2.1.938** :

Build 938 ( **Version 2.1.938** )

Patched the php-ofc-library to remove an exploit

Build 937 (Version 2.1.937)

Navigation data included for routes, more accurate maps for schedules, ACARS and PIREPS

Financial backend overhauled, all data is in real-time, and more accurate

Expenses are saved, so your expenses will stick and stay different, month-to-month

Aircraft can now be tied to a minimum rank to fly them

All charts/graphs replaced with new OFC (Open Flash Charts)

Google Maps replaced with v3 API (no more key needed!

Added reCaptcha support into the registration.

New format for skinning - whole page layout

Ability to change a pilot’s ID

Send mass-email to specific groups

Maintenance cron-script, for faster/more efficient background processing

Added ‘profile badge’ page with links to your signature in various formats

And numerous bug fixes

Templates Changed:

core\_htmlhead.tpl - Javascript all cleaned up, path to Google Maps API changed for v3

acarsmap.tpl - Completely changed with map customizations (I would just start from scratch)

route\_map.tpl - Rewritten to accomodate v3 API (I would just start from scratch)

profile\_myroutesmap.tpl - Removed, replaced with flown\_routes\_map.tpl, used for RouteMap

pirep\_new.tpl - Added field for route, and aircraft restriction for rank

schedule\_results.tpl - Aircraft restriction for rank

registration\_mainform.tpl - Replaced old captcha with reCaptcha

registration\_customfields.tpl - Bug fixed with textarea field type

finance\_summarysheet.tpl - Updated for new finances

finance\_header.tpl - Updated for new finances

finances\_balancesheet.tpl - Updates for new finances

contact\_form.tpl - Implemented reCaptcha

In my admin page i can see this:

“‘S’mofo butter layin’ me to da’ BONE! Jackin’ me up… tight me!”

Copyright Â© 2007 - 2013 phpVMS, [nsslive.net](http://nsslive.net)

License & About | **Version 2.1.936**

What is the last version?

---

<div class="post-metadata">

**Author:** ![freshJet](https://forum.phpvms.net/user_avatar/forum.phpvms.net/freshjet/32/122_2.png) [@freshJet](https://forum.phpvms.net/u/freshJet)\
**Post date:** [October 1, 2013, 5:57pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/3 "2013-10-01T17:57:50Z")

</div>

He said it’s 936

---

<div class="post-metadata">

**Author:** ![ARV187](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/439d5e/32.png) [@ARV187](https://forum.phpvms.net/u/ARV187)\
**Post date:** [October 1, 2013, 7:48pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/4 "2013-10-01T19:48:18Z")

</div>

Yes, i know, but in the file “changelog.htm” I can see differents versions…

---

<div class="post-metadata">

**Author:** ![ARV187](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/439d5e/32.png) [@ARV187](https://forum.phpvms.net/u/ARV187)\
**Post date:** [October 12, 2013, 10:04am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/5 "2013-10-12T10:04:18Z")

</div>

So, what is a 2.1.938 version? is a future version?

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [October 13, 2013, 1:43am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/6 "2013-10-13T01:43:40Z")

</div>

I would say it is an error in the changelog, it is automated I and must have gotten off a little. 936 is the latest release version.

---

<div class="post-metadata">

**Author:** ![ARV187](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/439d5e/32.png) [@ARV187](https://forum.phpvms.net/u/ARV187)\
**Post date:** [October 13, 2013, 9:05am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/7 "2013-10-13T09:05:22Z")

</div>

thanks for the clarification simpilot.

---

<div class="post-metadata">

**Author:** ![lol767](https://forum.phpvms.net/user_avatar/forum.phpvms.net/lol767/32/337_2.png) [@lol767](https://forum.phpvms.net/u/lol767)\
**Post date:** [January 14, 2014, 12:08am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/8 "2014-01-14T00:08:38Z")

</div>

how do i install it?

Do i leave the install folder and do the process?

---

<div class="post-metadata">

**Author:** ![KAC155](https://forum.phpvms.net/user_avatar/forum.phpvms.net/kac155/32/226_2.png) [@KAC155](https://forum.phpvms.net/u/KAC155)\
**Post date:** [February 7, 2014, 4:49pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/9 "2014-02-07T16:49:06Z")

</div>

Hi,

I got from github and the filename is nshahzad-phpVMS-v2.1.935-7-g89e65bb.zip

so I assume it is version 2.1.935 ?

Is there a newer version with the security patch?

Can you please provide a direct link to where to download the latest patched version?

Thanks.

---

<div class="post-metadata">

**Author:** ![Topgun](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/ba9def/32.png) [@Topgun](https://forum.phpvms.net/u/Topgun)\
**Post date:** [February 14, 2014, 3:37am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/10 "2014-02-14T03:37:54Z")

</div>

I have the same experience with the chart error.

I updated the " **core/lib/php-ofc-library/ofc\_upload\_image.ph**

But that didn’t help.. i still see the error:

* * *

Open Flash Chart

JSON Parse Error [syntax Error]

Error at character 0, line 1:

0: \<br /\>

* * *

I would like to try download the file “nshahzad-phpVMS-v2.1.935-7-g89e65bb.zip” does anyone have the link to that?

---

<div class="post-metadata">

**Author:** ![AUZ](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/2acd7d/32.png) [@AUZ](https://forum.phpvms.net/u/AUZ)\
**Post date:** [June 4, 2014, 11:41pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/11 "2014-06-04T23:41:39Z")

</div>

Can anyone confirm what the latest stable version of phpvms is please ?

Then, what is the latest beta version of phpvms please ?

I have 935, 936 and 938 all showing in different admin panels on my localhost and live servers in several different installs and none of the OFC charts are working with a returned JSON error like stated above …

I would most appreciated if someone could tell me what version can give me the activity feed and the OFC Charts patched and working …

Thanks in advance,

Adam

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [June 6, 2014, 12:35pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/12 "2014-06-06T12:35:52Z")

</div>

The latest official “Release” is 935 which can be found here -\> [https://github.com/n…phpVMS/releases](https://github.com/nshahzad/phpVMS/releases)

The version got bumped to 936 when the OFC patch was added ([https://github.com/n…2cfa00467c64129](https://github.com/nshahzad/phpVMS/commit/767c7ab1253f1eec21461f8e12cfa00467c64129)) but it has not been set as a “Release” package. It is the active version that can be downloaded here -\> [https://github.com/nshahzad/phpVMS](https://github.com/nshahzad/phpVMS) \<- which also includes some other changes that may or may not be fully tested.

Someone else came up with a version 938 as well but I do not know where this came from but I think it was a mistake in the change log that is updated automatically. It is discussed earlier in this thread.

There is also the development version available here -\> [https://github.com/n…phpVMS/tree/dev](https://github.com/nshahzad/phpVMS/tree/dev)

There is also some forked versions that you can follow here -\> [https://github.com/nshahzad/phpVMS/network](https://github.com/nshahzad/phpVMS/network)

---

<div class="post-metadata">

**Author:** ![AUZ](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/2acd7d/32.png) [@AUZ](https://forum.phpvms.net/u/AUZ)\
**Post date:** [June 6, 2014, 2:25pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/13 "2014-06-06T14:25:18Z")

</div>

Hello, Thanks Simpilot,

My Development on local host has the folliwing;

[License & About](http://localhost/dispatch/admin/index.php/dashboard/about) | Version v2.1.934-202-g9a77c3d

As this version looks to be the latest with the activity feed working.

It did mention somewhere that it was v938 but I can’t reference it anywhere at the moment and the more I go looking the more I get confused … lol

Its a shame with such a community of this size that we couldn’t all work together for a few weeks and release an updated stable version.

Thanks again and I shall ponder around testing all versions and try and make sense of it ..

Cheers

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [June 8, 2014, 1:24am UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/14 "2014-06-08T01:24:58Z")

</div>

> Its a shame with such a community of this size that we couldn’t all work together for a few weeks and release an updated stable version.

The core members of the project number less than three at this point I would say… You can submit any updates that you author in the form of a pull request on the github account.

---

<div class="post-metadata">

**Author:** ![RogerB](https://forum.phpvms.net/user_avatar/forum.phpvms.net/rogerb/32/10_2.png) [@RogerB](https://forum.phpvms.net/u/RogerB)\
**Post date:** [July 3, 2014, 4:16pm UTC](https://forum.phpvms.net/t/2-1-936-security-patch/8531/15 "2014-07-03T16:16:33Z")

</div>

Ya this is a great system
